diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2005-03-22 20:32:41 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2005-03-22 20:32:41 (GMT) |
commit | be435bf3c8d8a4297ebc4490f44cdb3bac5128f6 (patch) | |
tree | 949ffba1bc532182436d17dc8ad6c28201f9c7d5 /Lib | |
parent | f74b923ae5e3ed890f02f8afbca41123276f6931 (diff) | |
download | cpython-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.py | 2 |
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: |