HEX
Server: Apache
System: Linux p3plzcpnl507892.prod.phx3.secureserver.net 4.18.0-553.84.1.lve.el8.x86_64 #1 SMP Tue Nov 25 18:33:03 UTC 2025 x86_64
User: franzo (839540)
PHP: 7.0.33
Disabled: NONE
Upload Files
File: //opt/python38/lib/python3.8/site-packages/setuptools/command/register.py
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)