A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-April/110605.html below:

[Python-Dev] PEP 396, Module Version Numbers

[Python-Dev] PEP 396, Module Version NumbersP.J. Eby pje at telecommunity.com
Sun Apr 10 06:02:52 CEST 2011
At 08:52 AM 4/10/2011 +1000, Ben Finney wrote:
>This is an often-overlooked case, I think. The unspoken assumption is
>often that ``setup.py`` is a suitable place for the overall version
>string, but this is not the case when that string must be read by
>non-Python programs.

If you haven't used the distutils a lot, you might not realize that 
you can do this:

$ python setup.py --version
0.6c12

(The --name option also works, and they can be used together -- the 
answers will be on two separate lines.)

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4