]> crepu.dev Git - config.git/blame - djavu-asus/elpy/rpc-venv/lib/python3.11/site-packages/setuptools/command/register.py
Actualizado el Readme
[config.git] / djavu-asus / elpy / rpc-venv / lib / python3.11 / site-packages / setuptools / command / register.py
CommitLineData
53e6db90
DC
1from distutils import log
2import distutils.command.register as orig
3
4from setuptools.errors import RemovedCommandError
5
6
7class register(orig.register):
8 """Formerly used to register packages on PyPI."""
9
10 def run(self):
11 msg = (
12 "The register command has been removed, use twine to upload "
13 + "instead (https://pypi.org/p/twine)"
14 )
15
16 self.announce("ERROR: " + msg, log.ERROR)
17
18 raise RemovedCommandError(msg)