python (3.11.7)

(root)/
lib/
python3.11/
site-packages/
setuptools/
command/
upload.py
       1  from distutils import log
       2  from distutils.command import upload as orig
       3  
       4  from setuptools.errors import RemovedCommandError
       5  
       6  
       7  class ESC[4;38;5;81mupload(ESC[4;38;5;149morigESC[4;38;5;149m.ESC[4;38;5;149mupload):
       8      """Formerly used to upload packages to PyPI."""
       9  
      10      def run(self):
      11          msg = (
      12              "The upload 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          raise RemovedCommandError(msg)