diff options
author | Paul Ganssle <paul@ganssle.io> | 2018-11-07 16:41:19 -0500 |
---|---|---|
committer | Paul Ganssle <paul@ganssle.io> | 2018-11-07 17:38:43 -0500 |
commit | 727dd60f6a11f38d165250c543ba135687fa2e61 (patch) | |
tree | bf559a3b80912b36407c47b1e796d99cf4accc9d /setuptools/command/upload.py | |
parent | b5c9c5f42db36a07dc27d39c1be2a311cc567d99 (diff) | |
download | external_python_setuptools-727dd60f6a11f38d165250c543ba135687fa2e61.tar.gz external_python_setuptools-727dd60f6a11f38d165250c543ba135687fa2e61.tar.bz2 external_python_setuptools-727dd60f6a11f38d165250c543ba135687fa2e61.zip |
Fix bdist_rpm and bdist_dumb in upload_file
This fixes uploads when bdist_rpm or bdist_dumb are the command, both of
which insert a comment about what platform they are built for.
Diffstat (limited to 'setuptools/command/upload.py')
-rw-r--r-- | setuptools/command/upload.py | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/setuptools/command/upload.py b/setuptools/command/upload.py index 1851ed28..99d86011 100644 --- a/setuptools/command/upload.py +++ b/setuptools/command/upload.py @@ -2,6 +2,7 @@ import io import os import hashlib import getpass +import platform from base64 import standard_b64encode |