Base __version__ on sys.version_info, as distutils is

no longer maintained separatedly.
This commit is contained in:
Martin v. Löwis 2006-07-30 13:14:05 +00:00
parent 4e67838d6c
commit 1f30c3777c
2 changed files with 5 additions and 2 deletions

View File

@ -12,4 +12,6 @@ used from a setup script as
__revision__ = "$Id$"
__version__ = "2.5.0"
import sys
__version__ = "%d.%d.%d" % sys.version_info[:3]
del sys

View File

@ -80,7 +80,8 @@ Library
side effects from one test to the next affect outcomes. ``DocTestFinder``
has been changed to sort the list of tests it returns.
- The distutils version has been changed to 2.5.0.
- The distutils version has been changed to 2.5.0, and are now kept
in sync with sys.version_info[:3].
- Bug #978833: Really close underlying socket in _socketobject.close.