[Python-checkins] cpython (2.7): keep distutils version in sync with python version automatically
benjamin.peterson
python-checkins at python.org
Tue May 26 04:29:02 CEST 2015
https://hg.python.org/cpython/rev/245c5f5e515c
changeset: 96294:245c5f5e515c
branch: 2.7
parent: 96281:ab6c4e462977
user: Benjamin Peterson <benjamin at python.org>
date: Mon May 25 21:24:00 2015 -0500
summary:
keep distutils version in sync with python version automatically
files:
Lib/distutils/__init__.py | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
diff --git a/Lib/distutils/__init__.py b/Lib/distutils/__init__.py
--- a/Lib/distutils/__init__.py
+++ b/Lib/distutils/__init__.py
@@ -8,12 +8,6 @@
setup (...)
"""
-__revision__ = "$Id$"
+import sys
-# Distutils version
-#
-# Updated automatically by the Python release process.
-#
-#--start constants--
-__version__ = "2.7.10"
-#--end constants--
+__version__ = sys.version[:sys.version.index(' ')]
--
Repository URL: https://hg.python.org/cpython
More information about the Python-checkins
mailing list