summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-05-25 21:24:00 -0500
committerBenjamin Peterson <benjamin@python.org>2015-05-25 21:24:00 -0500
commitb5e556d36c776a35a75ee1694ff21c265a7a256d (patch)
treede6567ccebac9309d1a222e5c3cc5dbba026b80b
parent45912e3c5468afabc687f08d8613613477b46cb3 (diff)
downloadcpython-b5e556d36c776a35a75ee1694ff21c265a7a256d.tar.gz
keep distutils version in sync with python version automatically
-rw-r--r--Lib/distutils/__init__.py10
1 files changed, 3 insertions, 7 deletions
diff --git a/Lib/distutils/__init__.py b/Lib/distutils/__init__.py
index 6eb79cb639..d823d040a1 100644
--- a/Lib/distutils/__init__.py
+++ b/Lib/distutils/__init__.py
@@ -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(' ')]