diff options
author | Paul Ganssle <paul@ganssle.io> | 2018-11-07 16:23:13 -0500 |
---|---|---|
committer | Paul Ganssle <paul@ganssle.io> | 2018-11-07 17:38:43 -0500 |
commit | b5c9c5f42db36a07dc27d39c1be2a311cc567d99 (patch) | |
tree | 80c96480686173f016931b792be8eed42c694259 /setuptools/command | |
parent | 1bca7ffdea25ee7ae7d335d676b0804a2f467d52 (diff) | |
download | external_python_setuptools-b5c9c5f42db36a07dc27d39c1be2a311cc567d99.tar.gz external_python_setuptools-b5c9c5f42db36a07dc27d39c1be2a311cc567d99.tar.bz2 external_python_setuptools-b5c9c5f42db36a07dc27d39c1be2a311cc567d99.zip |
Fix gpg signature code in upload_file
This fixes an issue where `distutils.spawn.spawn` was not available in
the ported upload_file, which is only used when signing the data.
This also adds a test that the gpg signature command is invoked and
included in the uploaded data.
Diffstat (limited to 'setuptools/command')
-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 01fa026c..1851ed28 100644 --- a/setuptools/command/upload.py +++ b/setuptools/command/upload.py @@ -7,6 +7,7 @@ from base64 import standard_b64encode from distutils import log from distutils.command import upload as orig +from distutils.spawn import spawn from distutils.errors import DistutilsError |