⚝
One Hat Cyber Team
⚝
Your IP:
216.73.216.177
Server IP:
50.6.168.112
Server:
Linux server-617809.webnetzimbabwe.com 5.14.0-570.25.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jul 9 04:57:09 EDT 2025 x86_64
Server Software:
Apache
PHP Version:
8.4.10
Buat File
|
Buat Folder
Eksekusi
Dir :
~
/
lib64
/
python3.9
/
distutils
/
command
/
__pycache__
/
View File Name :
upload.cpython-39.opt-1.pyc
a DOg @ 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)Z md5_digestZ sha256_digestZblake2_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 0/usr/lib64/python3.9/distutils/command/upload.pyr * s zupload.initialize_optionsc C sr t | | jr| jstd| }|i krV|d | _|d | _|d | _|d | _ | jsn| j jrn| j j| _d S )Nz.Must use --sign for --identity to have meaningr r repositoryrealm)r finalize_optionsr r r Z_read_pypircr r r r distribution)r Zconfigr r r r 2 s zupload.finalize_optionsc C s: | j jsd}t|| j jD ]\}}}| ||| qd S )NzHMust create and upload files in one command (e.g. setup.py sdist upload))r Z dist_filesr upload_file)r msgcommand pyversionfilenamer r r runD s z upload.runc " C s t | j\}}}}}} |s"|s"| r0td| j |dvrDtd| | jr|ddd|g} | jrnd| jg| dd<