$53 GRAYBYTE WORDPRESS FILE MANAGER $15

SERVER : premium201.web-hosting.com #1 SMP Wed Mar 26 12:08:09 UTC 2025
SERVER IP : 172.67.217.254 | ADMIN IP 216.73.216.157
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python38/lib64/python3.8/distutils/command/__pycache__/

HOME
Current File : /opt/alt/python38/lib64/python3.8/distutils/command/__pycache__//upload.cpython-38.opt-2.pyc
U

i�fY�@s�ddlZddlZddlZddlZddlmZddlmZmZm	Z	ddl
mZddlm
Z
mZddlmZddlmZddlmZGd	d
�d
e�ZdS)�N)�standard_b64encode)�urlopen�Request�	HTTPError)�urlparse)�DistutilsError�DistutilsOptionError)�
PyPIRCCommand)�spawn)�logc@sJeZdZdZejddgZejdgZdd�Zdd�Zd	d
�Z	dd�Z
d
S)�uploadzupload binary package to PyPI)�sign�szsign files to upload using gpg)z	identity=�izGPG identity used to sign filesr
cCs,t�|�d|_d|_d|_d|_d|_dS)N�rF)r	�initialize_options�username�password�
show_responser
�identity)�self�r�=/opt/alt/python38/lib64/python3.8/distutils/command/upload.pyr s
zupload.initialize_optionscCsrt�|�|jr|jstd��|��}|ikrV|d|_|d|_|d|_|d|_	|jsn|j
jrn|j
j|_dS)Nz.Must use --sign for --identity to have meaningrr�
repository�realm)r	�finalize_optionsrr
rZ_read_pypircrrrr�distribution)rZconfigrrrr(s
�



zupload.finalize_optionscCs:|jjsd}t|��|jjD]\}}}|�|||�qdS)NzHMust create and upload files in one command (e.g. setup.py sdist upload))rZ
dist_filesr�upload_file)r�msg�command�	pyversion�filenamerrr�run:s
z
upload.runc Cs�t|j�\}}}}}}	|s"|s"|	r0td|j��|dkrDtd|��|jr|ddd|g}
|jrnd|jg|
dd�<t|
|jd	�t|d
�}z|�	�}W5|��X|j
j}
dd|
��|
�
�tj�|�|f||t�|���d
|
��|
��|
��|
��|
��|
��|
��|
��|
��|
��|
��|
��|
� �d�}d|d<|j�rpt|dd
��"}tj�|�d|�	�f|d<W5QRX|j!d|j"�#d�}dt$|��%d�}d}d|�#d�}|d}t&�'�}|�(�D]�\}}d|}t)|t*��s�|g}|D]j}t+|�t,k�r|d|d7}|d}nt-|��#d�}|�.|�|�.|�#d��|�.d�|�.|��q�q�|�.|�|�/�}d||jf}|�0|t1j2�d |t-t3|��|d!�}t4|j||d"�}zt5|�}|�6�}|j7}Wnft8k
�r�}z|j9}|j7}W5d}~XYn8t:k
�r.}z|�0t-|�t1j;��W5d}~XYnX|d#k�r�|�0d$||ft1j2�|j<�r�|�=|�}d%�>d&|d&f�}|�0|t1j2�n"d'||f}|�0|t1j;�t?|��dS)(NzIncompatible url %s)ZhttpZhttpszunsupported schema Zgpgz
--detach-signz-az--local-user�)�dry_run�rbZfile_upload�1z1.0)z:actionZprotocol_version�name�version�contentZfiletyper Z
md5_digestZmetadata_versionZsummaryZ	home_pageZauthorZauthor_email�license�description�keywords�platformZclassifiersZdownload_urlZprovidesZrequiresZ	obsoletesrZcommentz.ascZ
gpg_signature�:�asciizBasic z3--------------GHSKFJDLGDS7543FJKLFHRE75642756743254s
--s--
z+
Content-Disposition: form-data; name="%s"z; filename="%s"r�zutf-8s

zSubmitting %s to %sz multipart/form-data; boundary=%s)zContent-typezContent-lengthZ
Authorization)�data�headers��zServer response (%s): %s�
zK---------------------------------------------------------------------------zUpload failed (%s): %s)@rr�AssertionErrorr
rr
r$�open�close�readrZmetadataZget_nameZget_version�os�path�basename�hashlibZmd5Z	hexdigestZget_descriptionZget_urlZget_contactZget_contact_emailZget_licenceZget_long_descriptionZget_keywordsZ
get_platformsZget_classifiersZget_download_urlZget_providesZget_requiresZ
get_obsoletesrr�encoder�decode�io�BytesIO�items�
isinstance�list�type�tuple�str�write�getvalueZannouncer�INFO�lenrrZgetcoderr�code�OSErrorZERRORrZ_read_pypi_response�joinr) rrr r!ZschemaZnetlocZurlZparamsZqueryZ	fragmentsZgpg_args�fr)�metar1Z	user_passZauth�boundaryZsep_boundaryZend_boundaryZbody�key�value�titlerr2Zrequest�resultZstatus�reason�e�textrrrrBs���

�!�




��

�
zupload.upload_fileN)�__name__�
__module__�__qualname__r+r	Zuser_optionsZboolean_optionsrrr"rrrrrrs�r)r9r?r-r<�base64rZurllib.requestrrrZurllib.parserZdistutils.errorsrrZdistutils.corer	Zdistutils.spawnr
Z	distutilsrrrrrr�<module>s


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
26 Oct 2024 8.34 AM
root / linksafe
0755
__init__.cpython-38.opt-1.pyc
0.545 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
__init__.cpython-38.opt-2.pyc
0.438 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
__init__.cpython-38.pyc
0.545 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
bdist.cpython-38.opt-1.pyc
3.595 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
bdist.cpython-38.opt-2.pyc
3.405 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
bdist.cpython-38.pyc
3.595 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
bdist_dumb.cpython-38.opt-1.pyc
3.522 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
bdist_dumb.cpython-38.opt-2.pyc
3.327 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
bdist_dumb.cpython-38.pyc
3.522 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
bdist_msi.cpython-38.opt-1.pyc
19.092 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
bdist_msi.cpython-38.opt-2.pyc
17.587 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
bdist_msi.cpython-38.pyc
19.178 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
bdist_rpm.cpython-38.opt-1.pyc
12.087 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
bdist_rpm.cpython-38.opt-2.pyc
11.775 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
bdist_rpm.cpython-38.pyc
12.151 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
bdist_wininst.cpython-38.opt-1.pyc
8.24 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
bdist_wininst.cpython-38.opt-2.pyc
8.104 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
bdist_wininst.cpython-38.pyc
8.305 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
build.cpython-38.opt-1.pyc
3.805 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
build.cpython-38.opt-2.pyc
3.724 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
build.cpython-38.pyc
3.805 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
build_clib.cpython-38.opt-1.pyc
4.716 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
build_clib.cpython-38.opt-2.pyc
4.175 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
build_clib.cpython-38.pyc
4.716 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
build_ext.cpython-38.opt-1.pyc
15.773 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
build_ext.cpython-38.opt-2.pyc
13.862 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
build_ext.cpython-38.pyc
15.773 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
build_py.cpython-38.opt-1.pyc
10.193 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
build_py.cpython-38.opt-2.pyc
9.015 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
build_py.cpython-38.pyc
10.249 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
build_scripts.cpython-38.opt-1.pyc
4.237 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
build_scripts.cpython-38.opt-2.pyc
3.853 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
build_scripts.cpython-38.pyc
4.237 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
check.cpython-38.opt-1.pyc
4.785 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
check.cpython-38.opt-2.pyc
4.23 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
check.cpython-38.pyc
4.785 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
clean.cpython-38.opt-1.pyc
2.065 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
clean.cpython-38.opt-2.pyc
1.984 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
clean.cpython-38.pyc
2.065 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
config.cpython-38.opt-1.pyc
10.002 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
config.cpython-38.opt-2.pyc
6.744 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
config.cpython-38.pyc
10.002 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
install.cpython-38.opt-1.pyc
13.29 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
install.cpython-38.opt-2.pyc
12.26 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
install.cpython-38.pyc
13.29 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
install_data.cpython-38.opt-1.pyc
2.25 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
install_data.cpython-38.opt-2.pyc
2.108 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
install_data.cpython-38.pyc
2.25 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
install_egg_info.cpython-38.opt-1.pyc
2.94 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
install_egg_info.cpython-38.opt-2.pyc
2.277 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
install_egg_info.cpython-38.pyc
2.94 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
install_headers.cpython-38.opt-1.pyc
1.683 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
install_headers.cpython-38.opt-2.pyc
1.521 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
install_headers.cpython-38.pyc
1.683 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
install_lib.cpython-38.opt-1.pyc
5.008 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
install_lib.cpython-38.opt-2.pyc
4.44 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
install_lib.cpython-38.pyc
5.008 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
install_scripts.cpython-38.opt-1.pyc
2.105 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
install_scripts.cpython-38.opt-2.pyc
1.975 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
install_scripts.cpython-38.pyc
2.105 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
register.cpython-38.opt-1.pyc
8.271 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
register.cpython-38.opt-2.pyc
7.036 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
register.cpython-38.pyc
8.271 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
sdist.cpython-38.opt-1.pyc
14.19 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
sdist.cpython-38.opt-2.pyc
10.91 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
sdist.cpython-38.pyc
14.19 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
upload.cpython-38.opt-1.pyc
4.838 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
upload.cpython-38.opt-2.pyc
4.715 KB
23 Sep 2024 11.26 AM
root / linksafe
0644
upload.cpython-38.pyc
4.838 KB
23 Sep 2024 11.26 AM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF