[Distutils] Specifying version information once
exarkun at divmod.com
Tue May 19 20:21:13 CEST 2009
For a long time, the idiom I've used to specify version information in my
distutils-based packages has been this simple one: put version information
into the Python package somewhere, structure the source layout so that the
package can be imported directly from an unpacked source tarball (or vcs wc),
and import the version into setup.py. This worked great. And I only had to
define my version once.
Increasingly, it seems that new distutils-related tools don't support this
idiom and break in various ways. (eg
What is the recommendation for specifying version information in a way which
is compatible with all these new tools?
More information about the Distutils-SIG