diff options
Diffstat (limited to 'env/lib/python3.10/site-packages/setuptools/command/upload.py')
-rw-r--r-- | env/lib/python3.10/site-packages/setuptools/command/upload.py | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/env/lib/python3.10/site-packages/setuptools/command/upload.py b/env/lib/python3.10/site-packages/setuptools/command/upload.py deleted file mode 100644 index ec7f81e..0000000 --- a/env/lib/python3.10/site-packages/setuptools/command/upload.py +++ /dev/null @@ -1,17 +0,0 @@ -from distutils import log -from distutils.command import upload as orig - -from setuptools.errors import RemovedCommandError - - -class upload(orig.upload): - """Formerly used to upload packages to PyPI.""" - - def run(self): - msg = ( - "The upload command has been removed, use twine to upload " - + "instead (https://pypi.org/p/twine)" - ) - - self.announce("ERROR: " + msg, log.ERROR) - raise RemovedCommandError(msg) |