On Fri, 2007-02-23 at 11:03 -0800, Jose Galvez wrote:
> you need to edit the setup.py file to include your templates. Change
> the package_data line to look like package_data={'dmetrix':
> ['i18n/*/LC_MESSAGES/*.mo', 'templates/*.*']} this will include all
> your template files.
Of course this precludes the user editing the templates. A more general
solution might be to make the app take a configuration option pointing
to the template root and bundle the templates separately.
This is assuming you want the user to be able to customize the templates
at all.
Regards,
Cliff
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---