$31 GRAYBYTE WORDPRESS FILE MANAGER $60

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.180
OPTIONS : CRL = ON | WGT = ON | SDO = OFF | PKEX = OFF
DEACTIVATED : mail

/opt/alt/python39/lib64/python3.9/distutils/command/__pycache__/

HOME
Current File : /opt/alt/python39/lib64/python3.9/distutils/command/__pycache__//register.cpython-39.opt-2.pyc
a

XC?h�-�@s`ddlZddlZddlZddlZddlmZddlmZddl	Tddl
mZGdd�de�ZdS)�N)�warn)�
PyPIRCCommand)�*)�logc@s�eZdZdZejddgZejgd�Zddd�fgZdd	�Zd
d�Z	dd
�Z
dd�Zdd�Zdd�Z
dd�Zdd�Zdd�Zddd�ZdS)�registerz7register the distribution with the Python package index)�list-classifiersNz list the valid Trove classifiers)�strictNzBWill stop the registering if the meta-data are not fully compliant)�verifyrr�checkcCsdS)NT���selfrr�?/opt/alt/python39/lib64/python3.9/distutils/command/register.py�<lambda>�zregister.<lambda>cCst�|�d|_d|_dS)Nr)r�initialize_options�list_classifiersrrrrrrs
zregister.initialize_optionscCs*t�|�d|jfdd�}||jjd<dS)Nr)r�)r�restructuredtextr
)r�finalize_optionsr�distributionZcommand_options)r
Z
check_optionsrrrr$s

�zregister.finalize_optionscCsT|��|��|��D]}|�|�q|jr8|��n|jrH|��n|��dS)N)	r�_set_configZget_sub_commandsZrun_commandZdry_run�verify_metadatar�classifiers�
send_metadata)r
Zcmd_namerrr�run+s

zregister.runcCs8tdt�|j�d�}|��|j|_d|_|��dS)Nzddistutils.command.register.check_metadata is deprecated,               use the check command insteadr
r)r�PendingDeprecationWarningrZget_command_objZensure_finalizedrrr)r
r
rrr�check_metadata:s�zregister.check_metadatacCsz|��}|ikr@|d|_|d|_|d|_|d|_d|_n6|jd|jfvr^td|j��|jdkrp|j|_d|_dS)	N�username�password�
repository�realmTZpypiz%s not found in .pypircF)Z_read_pypircrrr r!�
has_configZDEFAULT_REPOSITORY�
ValueError)r
ZconfigrrrrDs




zregister._set_configcCs*|jd}tj�|�}t�|�|��dS)Nz?:action=list_classifiers)r �urllib�requestZurlopenr�info�_read_pypi_response)r
ZurlZresponserrrrUs
zregister.classifierscCs&|�|�d��\}}t�d||�dS)Nr	�Server response (%s): %s)�post_to_server�build_post_datarr&)r
�code�resultrrrr\szregister.verify_metadatac
Cs�|jrd}|j}|j}nd}d}}d��}||vrd|�dtj�t�}|sRd}q,||vr,td�q,|dk�rl|s|td�}qn|s�t	�	d�}q|t
j��}t
j
�|j�d	}|�|j|||�|�|�d
�|�\}}|�d||ftj�|dk�r�|j�r||j_nf|�d
tj�|�d|��tj�d}|��dv�rNtd�}|�s*d}�q*|��dk�r�|�||��nl|dk�r�ddi}	d|	d<|	d<|	d<d|	d<|	d�s�td�|	d<�q�|	d|	dk�r0|	d�s�t	�	d�|	d<�q�|	d�st	�	d�|	d<�q�|	d|	dk�r�d|	d<d|	d<td��q�|	d�sJtd�|	d<�q0|�|	�\}}|dk�rrt�d||�nt�d�t�d�nP|d k�r�dd!i}	d|	d<|	d�s�td"�|	d<�q�|�|	�\}}t�d||�dS)#N�1�x�z1 2 3 4z�We need to know who you are, so please choose either:
 1. use your existing login,
 2. register as a new user,
 3. have the server generate a new password for you (and email it to you), or
 4. quit
Your selection [default 1]: z&Please choose one of the four options!z
Username: z
Password: rZsubmitr(��zAI can store your PyPI login so future submissions will be faster.z (the login will be stored in %s)�XZynzSave your login (y/N)?�n�y�2�:action�user�namerZemailZconfirmz
 Confirm: z!Password and confirm don't match!z
   EMail: z"You will receive an email shortly.z7Follow the instructions in it to complete registration.�3Zpassword_resetzYour email address: )r"rr�split�announcer�INFO�input�print�getpassr$r%ZHTTPPasswordMgr�parseZurlparser Zadd_passwordr!r)r*rZ_get_rc_file�lowerZ
_store_pypircr&)
r
Zchoicerr�choices�authZhostr+r,�datarrrrcs��



��

���








zregister.send_metadatacCs�|jj}|d|��|��|��|��|��|��|��|�	�|�
�|��|��|�
�|��|��|��d�}|ds�|ds�|dr�d|d<|S)Nz1.0)r5�metadata_versionr7�versionZsummaryZ	home_pageZauthorZauthor_email�license�description�keywords�platformrZdownload_url�provides�requires�	obsoletesrJrKrLz1.1rD)r�metadataZget_nameZget_versionZget_descriptionZget_urlZget_contactZget_contact_emailZget_licenceZget_long_descriptionZget_keywordsZ
get_platformsZget_classifiersZget_download_urlZget_providesZget_requiresZ
get_obsoletes)r
�action�metarCrrrr*�s,�zregister.build_post_dataNc
Cs�d|vr$|�d|d|jftj�d}d|}|d}t��}|��D]~\}}t|�tg�td�fvrn|g}|D]R}t|�}|�	|�|�	d|�|�	d�|�	|�|rr|d	d
krr|�	d�qrqH|�	|�|�	d�|�
��d�}d
|tt|��d�}	t
j�|j||	�}
t
j�t
jj|d��}d}z|�|
�}Wn|t
jj�y�}
z*|j�rb|
j��}|
j|
jf}WYd}
~
nTd}
~
0t
jj�y�}
zdt|
�f}WYd}
~
n d}
~
00|j�r�|�|�}d}|j�r�d�d|df�}|�|tj�|S)Nr7zRegistering %s to %sz3--------------GHSKFJDLGDS7543FJKLFHRE75642756743254z
--z--rz*
Content-Disposition: form-data; name="%s"z

����
�
zutf-8z/multipart/form-data; boundary=%s; charset=utf-8)zContent-typezContent-length)Zpassword_mgrr/i�)r0ZOKzK---------------------------------------------------------------------------)r:r rr;�io�StringIO�items�type�str�write�getvalue�encode�lenr$r%ZRequestZbuild_openerZHTTPBasicAuthHandler�open�errorZ	HTTPErrorZ
show_response�fp�readr+�msgZURLErrorr'�join)r
rCrB�boundaryZsep_boundaryZend_boundary�body�key�valueZheadersZreqZopenerr,�er`rrrr)�s^��





��
 "
zregister.post_to_server)N)�__name__�
__module__�__qualname__rGrZuser_optionsZboolean_optionsZsub_commandsrrrrrrrrr*r)rrrrrs"�
zr)
r>rSZurllib.parser$Zurllib.request�warningsrZdistutils.corerZdistutils.errorsZ	distutilsrrrrrr�<module>s


Current_dir [ NOT WRITEABLE ] Document_root [ NOT WRITEABLE ]


[ Back ]
NAME
SIZE
LAST TOUCH
USER
CAN-I?
FUNCTIONS
..
--
22 Jul 2025 8.33 AM
root / linksafe
0755
__init__.cpython-39.opt-1.pyc
0.477 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
__init__.cpython-39.opt-2.pyc
0.37 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
__init__.cpython-39.pyc
0.477 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist.cpython-39.opt-1.pyc
3.533 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist.cpython-39.opt-2.pyc
3.344 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist.cpython-39.pyc
3.533 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_dumb.cpython-39.opt-1.pyc
3.517 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_dumb.cpython-39.opt-2.pyc
3.321 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_dumb.cpython-39.pyc
3.517 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_msi.cpython-39.opt-1.pyc
19.254 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_msi.cpython-39.opt-2.pyc
17.749 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_msi.cpython-39.pyc
19.319 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_rpm.cpython-39.opt-1.pyc
11.902 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_rpm.cpython-39.opt-2.pyc
11.591 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_rpm.cpython-39.pyc
11.951 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_wininst.cpython-39.opt-1.pyc
8.309 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_wininst.cpython-39.opt-2.pyc
8.173 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
bdist_wininst.cpython-39.pyc
8.357 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build.cpython-39.opt-1.pyc
3.803 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build.cpython-39.opt-2.pyc
3.722 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build.cpython-39.pyc
3.803 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_clib.cpython-39.opt-1.pyc
4.7 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_clib.cpython-39.opt-2.pyc
4.159 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_clib.cpython-39.pyc
4.7 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_ext.cpython-39.opt-1.pyc
15.824 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_ext.cpython-39.opt-2.pyc
13.913 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_ext.cpython-39.pyc
15.824 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_py.cpython-39.opt-1.pyc
10.15 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_py.cpython-39.opt-2.pyc
8.972 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_py.cpython-39.pyc
10.201 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_scripts.cpython-39.opt-1.pyc
4.241 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_scripts.cpython-39.opt-2.pyc
3.856 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
build_scripts.cpython-39.pyc
4.241 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
check.cpython-39.opt-1.pyc
4.806 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
check.cpython-39.opt-2.pyc
4.19 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
check.cpython-39.pyc
4.806 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
clean.cpython-39.opt-1.pyc
2.046 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
clean.cpython-39.opt-2.pyc
1.965 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
clean.cpython-39.pyc
2.046 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
config.cpython-39.opt-1.pyc
9.985 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
config.cpython-39.opt-2.pyc
6.727 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
config.cpython-39.pyc
9.985 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install.cpython-39.opt-1.pyc
13.235 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install.cpython-39.opt-2.pyc
12.205 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install.cpython-39.pyc
13.235 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_data.cpython-39.opt-1.pyc
2.244 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_data.cpython-39.opt-2.pyc
2.103 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_data.cpython-39.pyc
2.244 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_egg_info.cpython-39.opt-1.pyc
2.962 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_egg_info.cpython-39.opt-2.pyc
2.299 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_egg_info.cpython-39.pyc
2.962 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_headers.cpython-39.opt-1.pyc
1.683 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_headers.cpython-39.opt-2.pyc
1.521 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_headers.cpython-39.pyc
1.683 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_lib.cpython-39.opt-1.pyc
4.976 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_lib.cpython-39.opt-2.pyc
4.408 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_lib.cpython-39.pyc
4.976 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_scripts.cpython-39.opt-1.pyc
2.096 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_scripts.cpython-39.opt-2.pyc
1.965 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
install_scripts.cpython-39.pyc
2.096 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
register.cpython-39.opt-1.pyc
8.268 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
register.cpython-39.opt-2.pyc
7.032 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
register.cpython-39.pyc
8.268 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
sdist.cpython-39.opt-1.pyc
14.153 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
sdist.cpython-39.opt-2.pyc
10.873 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
sdist.cpython-39.pyc
14.153 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
upload.cpython-39.opt-1.pyc
5.119 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
upload.cpython-39.opt-2.pyc
4.996 KB
19 Jun 2025 12.11 PM
root / linksafe
0644
upload.cpython-39.pyc
5.119 KB
19 Jun 2025 12.11 PM
root / linksafe
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025 CONTACT ME
Static GIF