LittleDemon WebShell


Linux server27.hostingraja.org 2.6.32-954.3.5.lve1.4.93.el6.x86_64 #1 SMP Wed Oct 4 17:04:29 UTC 2023 x86_64
Path : /opt/cloudlinux/venv/lib/python3.11/site-packages/setuptools/command/
File Upload :
Command :
Current File : //opt/cloudlinux/venv/lib/python3.11/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)

LittleDemon - FACEBOOK
[ KELUAR ]