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: 3.2~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b03856ab661ca8901cf068aa387e559f4358e3f6;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 6eb79cb63913..d823d040a1c1 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(' ')]