summaryrefslogtreecommitdiffstats
path: root/Lib/distutils
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2015-05-26 02:24:00 (GMT)
committerBenjamin Peterson <benjamin@python.org>2015-05-26 02:24:00 (GMT)
commitb03856ab661ca8901cf068aa387e559f4358e3f6 (patch)
tree6aab4f4e017711a72c2f561848fbf2398bda1547 /Lib/distutils
parent9bd476ea57e1f77c5d117577d721bff806137a09 (diff)
downloadcpython-b03856ab661ca8901cf068aa387e559f4358e3f6.zip
cpython-b03856ab661ca8901cf068aa387e559f4358e3f6.tar.gz
cpython-b03856ab661ca8901cf068aa387e559f4358e3f6.tar.bz2
keep distutils version in sync with python version automatically
Diffstat (limited to 'Lib/distutils')
-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 6eb79cb..d823d04 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(' ')]