Initial commit

This commit is contained in:
ladeng07
2022-04-12 14:29:48 +08:00
committed by ladeng07
parent febe17d539
commit b2c34886a4
5026 changed files with 806430 additions and 12 deletions
@@ -0,0 +1,17 @@
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)