Setuptools 3.0b1 available for preview
I'm pleased to announce that Setuptools 3.0b1 is now available for download from the project downloads page: https://bitbucket.org/pypa/setuptools/downloads This backward-incompatible release contains the changes detailed in the CHANGES.txt file: https://bitbucket.org/pypa/setuptools/src/3.0b1/CHANGES.txt?at=default Please give this beta release a try or review the changes for any impact this might have on your package. I anticipate most users will find these changes of no consequence, but if there are any issues that might affect your package that don't have an obvious solution, please file a ticket. Regards, Jason
On Wed, Feb 12, 2014 at 5:09 AM, Jason R. Coombs <jaraco@jaraco.com> 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 <sdouche@gmail.com> Twitter: @sdouche / G+: +sdouche
On Wed, Feb 12, 2014 at 11:11 AM, Sebastien Douche <sdouche@gmail.com> wrote:
On Wed, Feb 12, 2014 at 5:09 AM, Jason R. Coombs <jaraco@jaraco.com> 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?
Yes. The main idea is just that the __init__.py must set up the namespace package, and not rely on setuptools doing the declaration implicitly/automatically.
On Thu, Feb 13, 2014 at 7:03 PM, PJ Eby <pje@telecommunity.com> wrote:
are theses lines good?
Yes. The main idea is just that the __init__.py must set up the namespace package, and not rely on setuptools doing the declaration implicitly/automatically.
Understood. We use these lines from the beginning. Thanks. -- Sebastien Douche <sdouche@gmail.com> Twitter: @sdouche / G+: +sdouche
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 02/11/2014 11:09 PM, Jason R. Coombs wrote:
I'm pleased to announce that Setuptools 3.0b1 is now available for download from the project downloads page:
https://bitbucket.org/pypa/setuptools/downloads
This backward-incompatible release contains the changes detailed in the CHANGES.txt file:
https://bitbucket.org/pypa/setuptools/src/3.0b1/CHANGES.txt?at=default
Please give this beta release a try or review the changes for any impact this might have on your package. I anticipate most users will find these changes of no consequence, but if there are any issues that might affect your package that don't have an obvious solution, please file a ticket.
I just tested SubstanceD using virtualenv's built with both Python 2.6.9 and Python 3.3.3. All tests pass, exercising a stack which includes ZODB, the zope.* packages, pyramid, etc. I did see one at-exit failure (during the 'setup.py develop' under 2.6.9), but it was harmless AFAICT. Tres. - -- =================================================================== Tres Seaver +1 540-429-0999 tseaver@palladion.com Palladion Software "Excellence by Design" http://palladion.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/ iEYEARECAAYFAlL7yuwACgkQ+gerLs4ltQ7j8gCfd34nVzU3w/GCVfaxEAzx8jKm gPsAn0gVS/YikXf64JkSr1L/G3n+aoXR =s2z/ -----END PGP SIGNATURE-----
participants (4)
-
Jason R. Coombs -
PJ Eby -
Sebastien Douche -
Tres Seaver