From: Martin v. Löwis Date: Tue, 22 Mar 2005 20:32:41 +0000 (+0000) Subject: Don't set the Python version for sdist uploads. X-Git-Tag: v2.5a0~1891 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=be435bf3c8d8a4297ebc4490f44cdb3bac5128f6;p=thirdparty%2FPython%2Fcpython.git Don't set the Python version for sdist uploads. --- diff --git a/Lib/distutils/command/upload.py b/Lib/distutils/command/upload.py index ad0e230462b1..a62da78a02e9 100644 --- a/Lib/distutils/command/upload.py +++ b/Lib/distutils/command/upload.py @@ -89,6 +89,8 @@ class upload(Command): comment = 'built for %s %s' % (dist, version) elif command == 'bdist_dumb': comment = 'built for %s' % platform.platform(terse=1) + elif command == 'sdist': + data['pyversion'] = '' data['comment'] = comment if self.sign: