mirror of
https://github.com/python/cpython.git
synced 2025-11-11 19:12:05 +00:00
Don't set the Python version for sdist uploads.
This commit is contained in:
parent
f74b923ae5
commit
be435bf3c8
1 changed files with 2 additions and 0 deletions
|
|
@ -89,6 +89,8 @@ def upload_file(self, command, filename):
|
||||||
comment = 'built for %s %s' % (dist, version)
|
comment = 'built for %s %s' % (dist, version)
|
||||||
elif command == 'bdist_dumb':
|
elif command == 'bdist_dumb':
|
||||||
comment = 'built for %s' % platform.platform(terse=1)
|
comment = 'built for %s' % platform.platform(terse=1)
|
||||||
|
elif command == 'sdist':
|
||||||
|
data['pyversion'] = ''
|
||||||
data['comment'] = comment
|
data['comment'] = comment
|
||||||
|
|
||||||
if self.sign:
|
if self.sign:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue