b374k
m1n1 1.01
Apache/2.2.15 (CentOS)
Linux obd60-6c49958d75-2q7cw 5.4.0-174-generic #193-Ubuntu SMP Thu Mar 7 14:29:28 UTC 2024 x86_64
uid=48(apache) gid=48(apache) groups=48(apache)
server ip : 104.21.65.202 | your ip : 10.244.126.0
safemode OFF
 >  / usr / lib64 / python2.6 / distutils /
Filename/usr/lib64/python2.6/distutils/config.pyc
Size3.61 kb
Permissionrw-r--r--
Ownerapache
Create time23-Dec-2025 17:41
Last modified20-Jun-2019 19:45
Last accessed22-Apr-2026 09:40
Actionsedit | rename | delete | download (gzip)
Viewtext | code | image
Ñò
§ÚêLc@s^dZddkZddkZddklZddklZdZdefd��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 �Z d
�Z d �Z
d �ZRS(s;Base command that knows how to handle the .pypirc file
shttp://pypi.python.org/pypitpypis repository=trsurl of repository [default: %s]s
show-responses&display full response text from servercCstiitiid�d�S(sReturns rc file path.t~s.pypirc(tostpathtjoint
expanduser(tself((s(/usr/lib64/python2.6/distutils/config.pyt _get_rc_file'scCso|i�}titi|titiBd�d�ii�}z$|~}|it ||f�WdQXdS(sCreates a default .pypirc file.i�twN(
R RtfdopentopentO_CREATtO_WRONLYt__exit__t __enter__twritetDEFAULT_PYPIRC(R
tusernametpasswordtrct_[1]tfp((s(/usr/lib64/python2.6/distutils/config.pyt
_store_pypirc+s Bc
Csx|i�}tii|�oU|id|�|ip|i}|ip|i}t �}|i
|�|i �}d|joc|i dd�}g}|i
d�D]*}|i�djo||i�q«q«~} | gjo"d|jo
dg} q
hSnx`| D]Ì}h|d6}
|i |d�|
d<|i |d �|
d <xcd
|ifd |iffD]C\} } |i|| �o|i || �|
| <qr| |
| <qrW|
d|jp|
d
|jo|
SqWqtd |jo{d }|i|d
�o|i |d
�}n
|i}h|i |d�d6|i |d �d 6|d
6|d6|id 6SnhS(
sReads the .pypirc file.sUsing PyPI login from %st distutilss
index-serverss
tRtserverRRt
repositorytrealms server-login(R RRtexiststannounceRtDEFAULT_REPOSITORYRt
DEFAULT_REALMRtreadtsectionstgettsplittstript
has_option(
R
RRRtconfigR%t
index_serversRRt_serverstcurrenttkeytdefault((s(/usr/lib64/python2.6/distutils/config.pyt _read_pypirc1sV  
 
-



  

 cCsd|_d|_d|_dS(sInitialize options.iN(tNoneRRt
show_response(R
((s(/usr/lib64/python2.6/distutils/config.pytinitialize_optionsis  cCsD|idjo|i|_n|idjo|i|_ndS(sFinalizes options.N(RR1R"RR#(R
((s(/usr/lib64/python2.6/distutils/config.pytfinalize_optionsosN(s
show-responseNs&display full response text from server(t__name__t
__module__t__doc__R"R#R1RRt user_optionstboolean_optionsR RR0R3R4(((s(/usr/lib64/python2.6/distutils/config.pyRs      8 (R7RtsysRt
distutils.cmdRRR(((s(/usr/lib64/python2.6/distutils/config.pyt<module>s