⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.30
Server IP:
45.79.8.107
Server:
Linux localhost 5.15.0-140-generic #150-Ubuntu SMP Sat Apr 12 06:00:09 UTC 2025 x86_64
Server Software:
nginx/1.18.0
PHP Version:
8.1.2-1ubuntu2.21
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib
/
python3.10
/
distutils
/
command
/
__pycache__
/
View File Name :
upload.cpython-310.pyc
o bc @ s d Z ddlZddlZddlZddlmZ ddlmZ ddlm Z m Z ddlmZ ddl mZmZ ddlmZ dd lmZ dd lmZ eeddeeddeed ddZG dd deZdS )zm distutils.command.upload Implements the Distutils 'upload' subcommand (upload package to a package index). N)standard_b64encode) HTTPError)urlopenRequest)urlparse)DistutilsErrorDistutilsOptionError) PyPIRCCommand)spawn)logmd5sha256blake2b) md5_digest sha256_digestblake2_256_digestc @ sJ e Zd ZdZejddg Zejdg Zdd Zdd Zd d Z dd Z d S )uploadzupload binary package to PyPI)signszsign files to upload using gpg)z identity=izGPG identity used to sign filesr c C s, t | d| _d| _d| _d| _d | _d S )N r F)r initialize_optionsusernamepassword show_responser identity)self r //usr/lib/python3.10/distutils/command/upload.pyr * s zupload.initialize_optionsc C sz t | | jr| jstd| }|i kr+|d | _|d | _|d | _|d | _ | js9| j jr;| j j| _d S d S d S )Nz.Must use --sign for --identity to have meaningr r repositoryrealm)r finalize_optionsr r r _read_pypircr r r r distribution)r configr r r r! 2 s zupload.finalize_optionsc C s: | j js d}t|| j jD ]\}}}| ||| qd S )NzHMust create and upload files in one command (e.g. setup.py sdist upload))r# dist_filesr upload_file)r msgcommand pyversionfilenamer r r runD s z upload.runc " C s> t | j\}}}}}} |s|s| rtd| j |dvr"td| | jr>ddd|g} | jr7d| jg| dd<