upload test

This commit is contained in:
timothypidashev
2021-07-15 17:36:10 +00:00
parent 5e9a357235
commit 5bf2ef6b1c
485 changed files with 60822 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
from distutils import log
import distutils.command.register as orig
from setuptools.errors import RemovedCommandError
class register(orig.register):
"""Formerly used to register packages on PyPI."""
def run(self):
msg = (
"The register command has been removed, use twine to upload "
+ "instead (https://pypi.org/p/twine)"
)
self.announce("ERROR: " + msg, log.ERROR)
raise RemovedCommandError(msg)