]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
keep distutils version in sync with python version automatically
authorBenjamin Peterson <benjamin@python.org>
Tue, 26 May 2015 02:24:00 +0000 (21:24 -0500)
committerBenjamin Peterson <benjamin@python.org>
Tue, 26 May 2015 02:24:00 +0000 (21:24 -0500)
Lib/distutils/__init__.py

index 6eb79cb639136c12362b0d5f16d4f96342e7a4f0..d823d040a1c1e6d64838e8ccacc9c7337c732749 100644 (file)
@@ -8,10 +8,6 @@ used from a setup script as
    setup (...)
 """
 
-# Distutils version
-#
-# Updated automatically by the Python release process.
-#
-#--start constants--
-__version__ = "3.2.6"
-#--end constants--
+import sys
+
+__version__ = sys.version[:sys.version.index(' ')]