From: Benjamin Peterson Date: Tue, 26 May 2015 02:24:00 +0000 (-0500) Subject: keep distutils version in sync with python version automatically X-Git-Tag: v2.7.11rc1~296 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fdd70ae4531226101548e7989a0f54e3f2fa48e1;p=thirdparty%2FPython%2Fcpython.git keep distutils version in sync with python version automatically --- diff --git a/Lib/distutils/__init__.py b/Lib/distutils/__init__.py index 037089633f9d..d823d040a1c1 100644 --- a/Lib/distutils/__init__.py +++ b/Lib/distutils/__init__.py @@ -8,12 +8,6 @@ used from a setup script as 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(' ')]