I think I released the dogpile.cache stuff incorrectly, actually installing the packages it seems like I got the namespace package stuff wrong. I have the "pkg_resources.declare_namespace" directive in the dogpile/__init__.py of dogpile.cache but not of dogpile, and it appears that this needs to be exactly the opposite.
Can someone help me set up dogpile and dogpile.cache correctly? Here's a paste of what *seems* to work: http://paste.pocoo.org/show/581532/ the questions I have are: 1. Is it OK if I have "__version__" and a few other things in dogpile/__init__.py of the root project ? this seems to work, as "dogpile" is always imported first, but the docs at http://packages.python.org/distribute/setuptools.html#namespace-packages might suggest otherwise: "You must NOT include any other code and data in a namespace package’s __init__.py. Even though it may appear to work during development, or when projects are installed as .egg files, it will not work when the projects are installed using “system” packaging tools – in such cases the __init__.py files will not be installed, let alone executed." 2. since "dogpile" is always imported first it seems like I don't need anything in the dogpile/__init__.py of that of dogpile.cache ? 3. or is "dogpile" not always imported first in this scenario ? how would I see that ? -- 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.
