[ckan-dev] Paths to resources within eggs

Seb Bacon seb.bacon at gmail.com
Fri Mar 4 09:25:54 UTC 2011


Hi,

I'm referring to template and css resources that are inside a package, thus:

   https://bitbucket.org/sebbacon/ckanext-datagm/src/b6e670e77e92/ckanext/datagm/__init__.py#cl-28

This works as long as I'm using develop eggs, but if I use zipped
eggs, of course it breaks.

Can someone with more egg-fu than me suggest what a solution is to
distributing resources like this might look like?

Thanks,

Seb




More information about the ckan-dev mailing list