add version_info
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Freeode |
New
|
Wishlist
|
Unassigned |
Bug Description
Add a (named) tuple "version_info" which contains the the version information. The specification is below (taken from the Python documentation of "sys.version_
The "VERSION" string should be generated from the "version_info". It should be investigated if ``setuptools`` understand the format of "version_info", and if this removes the problems that rpm thinks that "0.4.0.alpha.0" is later than "0.4.0.final.0"
version_info
---------------
A tuple containing the five components of the version number: major, minor, micro, releaselevel, and serial. All values except releaselevel are integers; the release level is 'alpha', 'beta', 'candidate', or 'final'. The version_info value corresponding to the Python version 2.0 is (2, 0, 0, 'final', 0). The components can also be accessed by name, so sys.version_info[0] is equivalent to sys.version_
New in version 2.0.
tags: | added: interpreter |
Changed in freeode: | |
importance: | Undecided → Wishlist |
description: | updated |
Changed in freeode: | |
milestone: | none → 0.4.1 |