[Distutils] distribute 0.6.10 and convert_2to3_doctests
ziade.tarek at gmail.com
Fri Jan 29 23:03:39 CET 2010
On Fri, Jan 29, 2010 at 10:54 PM, Barry Warsaw <barry at python.org> wrote:
> * One place to bump version numbers
> * Available from setup.py without importing from the package
So yes, setup.cfg would work here.
> * Available from the package's namespace
Yes, that's how Jinja does already for example, using Setuptools's
__version__ = __import__('pkg_resources').get_distribution('Jinja2').version
Notice that this pkg_resources browsing feature would be in Distutils
once PEP 376 is accepted, so until then, I could probably backport in
Distribute the setup.cfg feature.
More information about the Distutils-SIG