Commit 747bd24f authored by Martin v. Löwis's avatar Martin v. Löwis

Base __version__ on sys.version_info, as distutils is

no longer maintained separatedly.
parent c26881ae
......@@ -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
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment