diff options
Diffstat (limited to 'setuptools/command/upload.py')
-rwxr-xr-x | setuptools/command/upload.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/setuptools/command/upload.py b/setuptools/command/upload.py index bad01577..4aa73cd1 100755 --- a/setuptools/command/upload.py +++ b/setuptools/command/upload.py @@ -75,8 +75,10 @@ class upload(Command): basename = os.path.basename(filename) if basename.endswith('.egg'): basename += '.zip' + comment = '' if command=='bdist_egg': command='sdist' + comment='Binary egg for use with setuptools' data = { ':action':'file_upload', 'protcol_version':'1', @@ -87,7 +89,6 @@ class upload(Command): 'pyversion':pyversion, 'md5_digest':md5(content).hexdigest(), } - comment = '' if command == 'bdist_rpm': dist, version, id = platform.dist() if dist: |