[Zope-dev] Namespace declaration using pkgutil vs pkg_resources
Martijn Faassen
faassen at startifact.com
Wed Mar 11 10:29:34 EDT 2009
Baiju M wrote:
[snip]
> Just this line would be enough to declare a namespace:
>
> __import__('pkg_resources').declare_namespace(__name__)
>
> Am I missing something ?
Since Jim says you're not missing something, I'm going to add to the
Zope Framework Steering Group decisions that this is enough and we could
clean up __init__.py's to this if we would want to.
Regards,
Martijn
More information about the Zope-Dev
mailing list