Ñò §Úê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 „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 s