summaryrefslogtreecommitdiffstats
path: root/Lib
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2005-03-22 20:32:41 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2005-03-22 20:32:41 (GMT)
commitbe435bf3c8d8a4297ebc4490f44cdb3bac5128f6 (patch)
tree949ffba1bc532182436d17dc8ad6c28201f9c7d5 /Lib
parentf74b923ae5e3ed890f02f8afbca41123276f6931 (diff)
downloadcpython-be435bf3c8d8a4297ebc4490f44cdb3bac5128f6.zip
cpython-be435bf3c8d8a4297ebc4490f44cdb3bac5128f6.tar.gz
cpython-be435bf3c8d8a4297ebc4490f44cdb3bac5128f6.tar.bz2
Don't set the Python version for sdist uploads.
Diffstat (limited to 'Lib')
-rw-r--r--Lib/distutils/command/upload.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/distutils/command/upload.py b/Lib/distutils/command/upload.py
index ad0e230..a62da78 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: