]>
crepu.dev Git - config.git/blob - djavu-asus/emacs/elpy/rpc-venv/lib/python3.11/site-packages/setuptools/command/upload.py
ec7f81e22772511d668e5ab92f625db33259e803
1 from distutils
import log
2 from distutils
.command
import upload
as orig
4 from setuptools
.errors
import RemovedCommandError
7 class upload(orig
.upload
):
8 """Formerly used to upload packages to PyPI."""
12 "The upload command has been removed, use twine to upload "
13 + "instead (https://pypi.org/p/twine)"
16 self
.announce("ERROR: " + msg
, log
.ERROR
)
17 raise RemovedCommandError(msg
)