From be435bf3c8d8a4297ebc4490f44cdb3bac5128f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Tue, 22 Mar 2005 20:32:41 +0000 Subject: [PATCH] Don't set the Python version for sdist uploads. --- Lib/distutils/command/upload.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Lib/distutils/command/upload.py b/Lib/distutils/command/upload.py index ad0e230462b..a62da78a02e 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: