On Wed, Feb 12, 2014 at 5:09 AM, Jason R. Coombs <[email protected]> wrote:

Hi Jason

> This backward-incompatible release contains the changes detailed in the
> CHANGES.txt file:

Issue #148: When building (bdist_egg), setuptools no longer adds
  ``__init__.py`` files to namespace packages. Any packages that rely on this
  behavior will need to create ``__init__.py`` files and include the
  ``declare_namespace()``.

Thing like:

try:
    __import__('pkg_resources').declare_namespace(__name__)
except ImportError:
    from pkgutil import extend_path
    __path__ = extend_path(__path__, __name__)
__init__.py (END)

are theses lines good?





-- 
Sebastien Douche <[email protected]>
Twitter: @sdouche / G+: +sdouche
_______________________________________________
Distutils-SIG maillist  -  [email protected]
https://mail.python.org/mailman/listinfo/distutils-sig

Reply via email to