/opt/alt/python33/lib/python3.3/site-packages/setuptools
NameSizeModeActions
command/-0755rm
__pycache__/-0755rm
archive_util.py66010644editdlrm
archive_util.pyc62940644editdlrm
archive_util.pyo62940644editdlrm
compat.py25560644editdlrm
compat.pyc43360644editdlrm
compat.pyo43360644editdlrm
depends.py62210644editdlrm
depends.pyc69870644editdlrm
depends.pyo69870644editdlrm
dist.py325480644editdlrm
dist.pyc330010644editdlrm
dist.pyo329390644editdlrm
extension.py14040644editdlrm
extension.pyc24130644editdlrm
extension.pyo24130644editdlrm
lib2to3_ex.py19980644editdlrm
lib2to3_ex.pyc31430644editdlrm
lib2to3_ex.pyo31430644editdlrm
package_index.py389250644editdlrm
package_index.pyc401210644editdlrm
package_index.pyo401210644editdlrm
py26compat.py4310644editdlrm
py26compat.pyc9560644editdlrm
py26compat.pyo9560644editdlrm
py27compat.py3060644editdlrm
py27compat.pyc7840644editdlrm
py27compat.pyo7840644editdlrm
py31compat.py3960644editdlrm
py31compat.pyc7130644editdlrm
py31compat.pyo7130644editdlrm
sandbox.py99940644editdlrm
sandbox.pyc132500644editdlrm
sandbox.pyo132500644editdlrm
script template (dev).py3110644editdlrm
script template (dev).pyc5060644editdlrm
script template (dev).pyo5060644editdlrm
script template.py1630644editdlrm
script template.pyc2880644editdlrm
script template.pyo2880644editdlrm
site-patch.py24180644editdlrm
site-patch.pyc18330644editdlrm
site-patch.pyo18330644editdlrm
ssl_support.py76630644editdlrm
ssl_support.pyc79190644editdlrm
ssl_support.pyo79190644editdlrm
svn_utils.py178480644editdlrm
svn_utils.pyc212260644editdlrm
svn_utils.pyo212260644editdlrm
version.py200644editdlrm
version.pyc1840644editdlrm
version.pyo1840644editdlrm
__init__.py33170644editdlrm
__init__.pyc40820644editdlrm
__init__.pyo40820644editdlrm
Edit: /opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyc (40121B)
Rec@sdZddkZddkZddkZddkZddkZddkZddkZddkl Z ddk l Z l Z l Z lZlZlZlZlZlZlZlZlZlZddklZddklZddklZddklZl Z l!Z!l"Z"l#Z#l$Z$l%Z%l&Z&l'Z'l(Z(l)Z)l*Z*l+Z+l,Z,l-Z-dd kl.Z.dd k/l0Z0dd k1l2Z2dd k3l4Z4ei5d Z6ei5dei7Z8ei5dZ9ei5dei7i:Z;di<Z=ddddgZ>dZ?dZ@dZAeBdZCeBdZDeBdZEeBeeBdZFeBdZGdZHei5dei7ZIeHd ZJd!eiKd" ed#d$iKfZLd%eMfd&YZNd'eNfd(YZOdefd)YZPei5d*iQZRd+ZSd,ZTd-ZUdd.ZVd/ZWd0eMfd1YZXd2e-i-fd3YZYeiZd4Z[eVe?e[Z[d5Z\d6Z]dS(7s#PyPI and direct package downloadingiN(twraps( t CHECKOUT_DISTt Distributiont BINARY_DISTtnormalize_patht SOURCE_DISTtrequiret Environmenttfind_distributionst safe_namet safe_versiont to_filenamet Requirementt DEVELOP_DIST(t ssl_support(tlog(tDistutilsError(turllib2thttplibtStringIOt HTTPErrorturlparset urlunparsetunquotet splitusert url2pathnametname2codepointtunichrturljointurlsplitt urlunsplitt ConfigParser(t filterfalse(t translate(tstrip_fragment(tget_all_headerss^egg=([-A-Za-z0-9_.]+)$shref\s*=\s*['"]?([^'"> ]+)s([^<]+) \s+\(md5\)s([-+.a-z0-9]{2,}):s.tar.gz .tar.bz2 .tar .zip .tgzt PackageIndextdistros_for_urltparse_bdist_wininsttinterpret_distro_nameicCs|i}d\}}}|ido|ido|d }d}q|iddo!|dd!}|d }d}q|id o|d }d }q|id d o!|dd!}|d }d }qn|||fS(s=Return (base,pyversion) or (None,None) for possible .exe names.exes .win32.exeitwin32s .win32-pyiiis.win-amd64.exeis win-amd64s .win-amd64-pyiN(NNN(tlowertNonetendswitht startswith(tnameR)tbasetpy_vertplat((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR&.s$          cCst|\}}}}}}t|idd}|djo*|djot|idd}nd|jo|idd\}}n||fS(Nt/issourceforge.nettdownloadit#i(RRtsplit(turltschemetservertpatht parameterstquerytfragmentR.((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pytegg_info_for_urlFs ccst|\}}xt|||D] }|Vq%W|oOti|}|o5x2t||id|dtD] }|VqsWqndS(sEYield egg or source distribution objects that might be found at a URLit precedenceN(R<tdistros_for_locationt EGG_FRAGMENTtmatchR'tgroupR(R5tmetadataR.R;tdistR@((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR%Ns cCs|ido|d }n|ido$d|joti|||gS|ido@t|\}}}|dj ot||||t|Snx@tD]8}|i|o"|t| }t|||SqWgS(s:Yield egg or source distribution objects based on basenames.egg.zipis.eggt-s.exeN( R+Rt from_locationR&R*R'Rt EXTENSIONStlen(tlocationtbasenameRBtwin_baseR/tplatformtext((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR>Zs cCs"tt|tii||S(sEYield possible egg or source distribution objects based on a filename(R>RtosR8RI(tfilenameRB((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pytdistros_for_filenameosc cs|id}|pMxJt|dD]4\}}t|djo|idodSq'Wnxatdt|dD]F}t||di|| di||d|d|d |Vq}WdS( sGenerate alternative interpretations of a source distro name Note: if `location` is a filesystem filename, you should call ``pkg_resources.normalize_path()`` on it before passing it to this routine! RDiispy2.Nit py_versionR=RK(R4t enumerateRGR,trangeRtjoin( RHRIRBRPR=RKtpartstitp((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR'vs # ) ccst}|i}|djo0xjt|i|D]}|||Vq2Wn>x:|D]2}||}||jo|||VqVqVWdS(sHList unique elements, preserving order. Remember all elements ever seen.N(tsettaddR*R t __contains__(titerabletkeytseentseen_addtelementtk((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pytunique_everseens        cstfd}|S(ss Wrap a function returning an iterable such that the resulting iterable only ever yields unique items. cst||S(N(R`(targstkwargs(tfunc(sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pytwrappers(R(RcRd((RcsI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyt unique_valuesss(<([^>]*\srel\s*=\s*['"]?([^'">]+)[^>]*)>ccsxti|D]}|i\}}ttti|iid}d|jp d|jo;x8t i|D]#}t |t |i dVqyWqqWxhd D]`}|i |}|djo>t i||}|o!t |t |i dVqqqWdS( sEFind rel="homepage" and rel="download" links in `page`, yielding URLst,thomepageR2is Home PagesDownload URLiN(s Home PagesDownload URL(tRELtfinditertgroupsRWtmaptstrtstripR)R4tHREFRt htmldecodeRAtfindtsearch(R5tpageR@ttagtreltrelstpos((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pytfind_external_linkss') sPython-urllib/%s setuptools/%sit setuptoolsitContentCheckercBs)eZdZdZdZdZRS(sP A null content checker that defines the interface for checking content cCsdS(s3 Feed a block of data to the hash. N((tselftblock((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pytfeedscCstS(sC Check the hash. Return False if validation fails. (tTrue(Rz((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pytis_validscCsdS(su Call reporter with information about the checker (hash name) substituted into the template. N((Rztreporterttemplate((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pytreports(t__name__t __module__t__doc__R|R~R(((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyRys  t HashCheckercBsJeZeidZdZedZdZdZ dZ RS(sK(?Psha1|sha224|sha384|sha256|sha512|md5)=(?P[a-f0-9]+)cCs(||_ti||_||_dS(N(t hash_namethashlibtnewthashtexpected(RzRR((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyt__init__s cCsPt|d}|ptS|ii|}|ptS||iS(s5Construct a (possibly null) ContentChecker from a URLi(RRytpatternRqt groupdict(tclsR5R;R@((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pytfrom_urlscCs|ii|dS(N(Rtupdate(RzR{((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR|scCs|ii|ijS(N(Rt hexdigestR(Rz((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR~scCs||i}||S(N(R(RzRRtmsg((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyRs ( RRtretcompileRRt classmethodRR|R~R(((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyRs    cBsveZdZdd%d&edZedZedZedZ dZ dZ d Z d Z d&d Zd Zd&d ZdZdZdZdZdZeeed&dZeedZdZdZdZdZd&dZdZdZdZdZ dZ!e"edZ#d Z$d!Z%d"Z&d#Z'd$Z(RS('s;A distribution index that scans web pages for download URLsshttps://pypi.python.org/simplet*cOsti||||d|id |_h|_h|_h|_tidi t t |i |_ g|_|o4tio*|p tioti||_n ti|_dS(NR1t|(RRR+t index_urlt scanned_urlst fetched_urlst package_pagesRRRSRkR!R@tallowstto_scanRt is_availabletfind_ca_bundlet opener_fortopenerRturlopen(RzRthostst ca_bundlet verify_sslRatkw((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR s   ' %c Csp||ijo | odSt|i|%siii(RA(tm((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pytsRN( RnRiRRoRAt ValueErrorRwR<R+tneed_version_infotscan_urltPYPI_MD5tsub( RzR5RrRR@RRtnew_urlR.tfrag((RzsI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyRss(& cCs|id|dS(NsPPage at %s links to .py file(s) without version info; an index scan is required.(tscan_all(RzR5((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyRscGsS|i|ijo,|o|i||n|idn|i|idS(Ns6Scanning index of all packages (this may take a while)(RRRRR(RzRRa((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyRs  cCs|i|i|id|ii|ip|i|i|idn|ii|ip|i|nx3t|ii|idD]}|i|qWdS(NR1(( RRt unsafe_nameRRR[t project_nametnot_found_in_indexR(Rzt requirementR5((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyt find_packagesscCsm|i|i|x:||iD]+}||jo|S|id||q%Wtt|i||S(Ns%s does not match %s(tprescanRR[RtsuperR$tobtain(RzRt installerRC((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyRs   cCsk|i|id||ipC|iti|td|iiti i |fndS(s- checker is a ContentChecker sValidating %%s checksum for %ss7%s validation failed for %s; possible download problem?N( RRR~RRMtunlinkRRR-R8RI(RztcheckerRNttfp((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyt check_hashs     cCswxp|D]h}|idjp1t| p#|idptt|o|i|q|ii|qWdS(s;Add `urls` to the list that will be prescanned for searchessfile:N(RR*RR,RR%Rtappend(RzturlsR5((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pytadd_find_linksscCs4|iott|i|ind|_dS(s7Scan urls scheduled for prescanning (e.g. --find-links)N(RRRkRR*(Rz((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyRs cCsP||io|id}}n|id}}|||i|idS(Ns#Couldn't retrieve index page for %rs3Couldn't find index page for %r (maybe misspelled?)(R[RRRR(RzRtmethR((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyRs  cCst|tpt|}|o^|i|id||}t|\}}|ido|i|||}n|Sti i |o|Syti |}Wqt j ot d|fqXnt|i||ddS(sLocate and/or download `spec` to `tmpdir`, returning a local path `spec` may be a ``Requirement`` object, or a string containing a URL, an existing local filename, or a project/version requirement spec (i.e. the string form of a ``Requirement`` object). If it is the URL of a .py file with an unambiguous ``#egg=name-version`` tag (i.e., one that escapes ``-`` as ``_`` throughout), a trivial ``setup.py`` is automatically created alongside the downloaded file. If `spec` is a ``Requirement`` object or a string containing a project/version requirement spec, this method returns the location of a matching distribution (possibly after downloading it to `tmpdir`). If `spec` is a locally existing file or directory name, it is simply returned unchanged. If `spec` is a URL, it is downloaded to a subpath of `tmpdir`, and the local filename is returned. Various errors may be raised if a problem occurs during downloading. is.pys1Not a URL, existing file, or requirement spec: %rRHN(RR Rt _download_urlRAR<R+t gen_setupRMR8RtparseRRRtfetch_distributionR*(RztspecttmpdirR6tfoundR.R;((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR2s" c sZid|hd}dfd}|o'ii|||}n|dj o|p |||}n|djo*idj oi||}n|djo%| oi|||}n|djo%idodpd|n0id||idi|i|SdS( s|Obtain a distribution suitable for fulfilling `requirement` `requirement` must be a ``pkg_resources.Requirement`` instance. If necessary, or if the `force_scan` flag is set, the requirement is searched for in the (online) package index as well as the locally installed packages. If a distribution matching `requirement` is found, the returned distribution's ``location`` is the value you would have gotten from calling the ``download()`` method with the matching distribution's URL or filename. If no matching distribution is found, ``None`` is returned. If the `source` flag is set, only source distributions and source checkout links will be considered. Unless the `develop_ok` flag is set, development and system eggs (i.e., those using the ``.egg-info`` format) will be ignored. sSearching for %scs|djo }nx||iD]z}|itjo: o2|joid|d| i c Cs|id|d \}}}zWti|}|it|}t|to#td||i |i fn|i}d}|i } d} d|joAt |d} t tt| } |i|||| | nt|d}xdto\|i| } | oA|i| |i| |d7}|i|||| | qPqW|i||||SWd|o|in|o|inXdS( NsDownloading %ssCan't download %s: %s %siiscontent-lengthsContent-Lengthtwbi(NNN(RR*RRRR"RRRRRt dl_blocksizeR#tmaxRktintt reporthookRR}RR|R RR( RzR5RNtfpRRRRtblocknumtbstsizetsizesR{((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyt _download_tos@       cCsdS(N((RzR5RNRtblksizeR((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyRscCs|ido t|Syt||iSWnttifj o{tid}di g}|i D]}|t |qm~}|o|i ||qt d||fn6tij otid}|Stij oNtid}|o|i ||iqt d||ifntij oNtid}|o|i ||iqt d||ifnXtij oHtid}|o|i ||qt d||fnXdS(Nsfile:it s%s %ssDownload error for %s: %ss;%s returned a bad status line. The server might be down, %s(R,t local_opentopen_with_authRRRt InvalidURLtsystexc_infoRSRaRlRRRRtURLErrortreasont BadStatusLinetlinet HTTPException(RzR5twarningtvRtargR((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyRs@ 3cCsLt|\}}|o7x:d|jo"|iddidd}qWnd}|ido|d }ntii||}|djp|id o|i||S|d jp|id o|i||S|id o|i ||S|d jot t |dS|i |t |i||SdS(Ns..t.s\t_t__downloaded__s.egg.zipitsvnssvn+tgitsgit+shg+Ri(R<treplaceR+RMR8RSR,t _download_svnt _download_gitt _download_hgRRRR}t_attempt_download(RzR6R5RR-R;RN((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyRs& ' cCs|i|tdS(N(RR}(RzR5((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyRscCsM|i||}d|iddijo|i|||S|SdS(NRs content-typeR(RRR)t_download_html(RzR5RNR((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR1scCst|}x[|D]S}|io@tid|o(|iti||i||SPqqW|iti|td|dS(Ns ([^- ]+ - )?Revision \d+:s���Unexpected HTML page found at ( ���R���Rm���R���Rq���R���RM���R���R.��R���(���Rz���R5���R���RN���R���R#��(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR2�� ��s���� �      c������ ���C���s_��|�i��d�d��d�}�d�}�|�i���i�d��o�d�|�j�o�t�|��\�}�}�}�}�}�} �|� o�|�i�d��o�d�|�d �j�o�|�d �i��d�d��\�}�}�t�|��\�} �} �| �ok�d �| �j�o,�| �i��d �d��\�} �} �d �| �| �f�}�n �d �| �}�| �}�t�|�|�|�|�|�| �f��}�q*q.n�|��i�d �|�|��t�i�d�|�|�|�f��|�S(���NR3���i���i����R���s���svn:t���@s���//R1���i���t���:s��� --username=%s --password=%ss ��� --username=s'���Doing subversion checkout from %s to %ss���svn checkout%s -q %s %s( ���R4���R)���R,���R���R���R���R���RM���t���system(���Rz���R5���RN���t���credsR6���t���netlocR8���RV���t���qR���t���autht���hostt���usert���pw(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR.����s"����#)  *c���������C���s���t��|���\�}�}�}�}�}�|�i�d�d��d�}�|�i�d�d��d�}�d��}�d�|�j�o�|�i�d�d��\�}�}�n�t�|�|�|�|�d�f��}��|��|�f�S(���Nt���+i���iR3���i����R3��R���(���R���R4���R*���t���rsplitR���(���R5���t ���pop_prefixR6���R7��R8���R:���R���t���rev(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyt���_vcs_split_rev_from_url,��s���� c���������C���s���|�i��d�d��d�}�|��i�|�d�t�\�}�}�|��i�d�|�|��t�i�d�|�|�f��|�d��j �o+�|��i�d�|��t�i�d�|�|�f��n�|�S( ���NR3���i���i����R?��s���Doing git clone from %s to %ss���git clone --quiet %s %ss���Checking out %ss"���(cd %s && git checkout --quiet %s)(���R4���RA��R}���R���RM���R5��R*���(���Rz���R5���RN���R@��(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR/��>��s����  c���������C���s���|�i��d�d��d�}�|��i�|�d�t�\�}�}�|��i�d�|�|��t�i�d�|�|�f��|�d��j �o+�|��i�d�|��t�i�d�|�|�f��n�|�S( ���NR3���i���i����R?��s���Doing hg clone from %s to %ss���hg clone --quiet %s %ss���Updating to %ss���(cd %s && hg up -C -r %s >&-)(���R4���RA��R}���R���RM���R5��R*���(���Rz���R5���RN���R@��(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR0��N��s����  c���������G���s���t��i�|�|��d��S(���N(���R���R���(���Rz���R���Ra���(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR���^��s����c���������G���s���t��i�|�|��d��S(���N(���R���R���(���Rz���R���Ra���(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR���a��s����c���������G���s���t��i�|�|��d��S(���N(���R���R���(���Rz���R���Ra���(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR���d��s����(���R���N()���R���R���R���R*���R}���R���t���FalseR���R���R���R���R���R���R���R���R���R���R���R���R���R���R2���R���R��R���R��R��R��R���R���R���R1��R2��R.��t ���staticmethodRA��R/��R0��R���R���R���(����(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR$�����sL��� 0   *       )A * $  (         s!���&(#(\d+|x[\da-fA-F]+)|[\w.:-]+);?c���������C���s7���t��|��t��p�|��S|��d�j�o �t�|���St�|���S(���Ni���(���R���R��R���t���chr(���t���c(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyt���uchrk��s ���� � c���������C���s���|��i��d��}�|�i�d��o�t�|�d�d��}�n@�|�i�d��o�t�|�d��}�n�t�i�|�|��i��d���}�t�|��S(���Ni���s���#xi���i���R3���i����(���RA���R,���R��R���R���RF��(���R@���t���what(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyt ���decode_entityq��s����c���������C���s ���t��t�|���S(���s'���Decode HTML entities in the given text.(���t ���entity_subRH��(���t���text(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyRo���{��s����c������������s�����f�d���}�|�S(���Nc������������s������f�d���}�|�S(���Nc�������������s?���t��i���}�t��i����z��|��|���SWd��t��i�|��Xd��S(���N(���t���sockett���getdefaulttimeoutt���setdefaulttimeout(���Ra���Rb���t ���old_timeout(���t���timeoutRc���(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyt���_socket_timeout��s ����  (����(���Rc���RP��(���RO��(���Rc���sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyRP����s����(����(���RO��RP��(����(���RO��sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyt���socket_timeout��s���� c���������C���sC���t��|���}�|�i���}�t�i�|��}�|�i���}�|�i�d�d��S(���sq�� A function compatible with Python 2.3-3.3 that will encode auth from a URL suitable for an HTTP header. >>> str(_encode_auth('username%3Apassword')) 'dXNlcm5hbWU6cGFzc3dvcmQ=' Long auth strings should not cause a newline to be inserted. >>> long_auth = 'username:' + 'password'*10 >>> chr(10) in str(_encode_auth(long_auth)) False s��� R���(���R���t���encodet���base64t ���encodestringR���R-��(���R9��t���auth_st ���auth_bytest ���encoded_bytest���encoded(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyt ���_encode_auth��s ����   t ���Credentialc�����������B���s)���e��Z�d��Z�d���Z�d���Z�d���Z�RS(���s:��� A username/password pair. Use like a namedtuple. c���������C���s���|�|��_��|�|��_�d��S(���N(���t���usernamet���password(���Rz���R[��R\��(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR�����s���� c���������c���s���|��i��V|��i�Vd��S(���N(���R[��R\��(���Rz���(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyt���__iter__��s����c���������C���s���d�t��|���S(���Ns���%(username)s:%(password)s(���t���vars(���Rz���(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyt���__str__��s����(���R���R���R���R���R]��R_��(����(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyRZ����s���  t ���PyPIConfigc�����������B���s2���e��Z�d����Z�e�d����Z�d���Z�d���Z�RS(���c���������C���sw���t��i�d�d�d�g�d��}�t�i�i�|��|��t�i�i�t�i�i�d��d��}�t�i�i�|��o�|��i �|��n�d�S(���s%��� Load from ~/.pypirc R[��R\��t ���repositoryR���t���~s���.pypircN( ���t���dictt���fromkeysR���R���RM���R8���RS���t ���expanduserR���R���(���Rz���t���defaultst���rc(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR�����s ����!c���������C���sZ���g��}�|��i����D]*�}�|��i�|�d��i���o �|�|�q�q�~�}�t�t�|��i�|���S(���NRa��(���t���sectionsR���Rm���Rc��Rk���t���_get_repo_cred(���Rz���R���t���sectiont���sections_with_repositories(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyt���creds_by_repository��s����-c���������C���sO���|��i��|�d��i���}�|�t�|��i��|�d��i���|��i��|�d��i����f�S(���NRa��R[��R\��(���R���Rm���RZ��(���Rz���Rj��t���repo(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyRi����s����c���������C���s9���x2�|��i��i���D]!�\�}�}�|�i�|��o�|�Sq�Wd�S(���s��� If the URL indicated appears to be a repository defined in this config, return the credential for that repository. N(���Rl��t���itemsR,���(���Rz���R5���Ra��t���cred(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyt���find_credential��s����� (���R���R���R���t���propertyRl��Ri��Rp��(����(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR`����s���  c���������C���s��t��|���\�}�}�}�}�}�}�|�i�d��o�t�i�d���n�|�d �j�o�t�|��\�}�} �n�d �}�|�pM�t���i�|���} �| �o0�t�| ��}�| �i �|��f�} �t �i �d�| ��q�n�|�oQ�d�t �|��}�t �|�| �|�|�|�|�f��} �t�i�| ��} �| �i�d�|��n�t�i�|���} �| �i�d�t��|�| ��}�|�od�t��|�i��\�}�}�}�}�}�}�|�|�j�o2�|�| �j�o%�t �|�|�|�|�|�|�f��|�_�qn�|�S( ���s4���Open a urllib2 request, handling HTTP authenticationR4��s���nonnumeric port: ''t���httpt���httpss*���Authenticating as %s for %s (from .pypirc)s���Basic t ���Authorizations ���User-Agent(���Rr��Rs��N(���R���R+���R���R��R���R*���R`��Rp��Rl���R[��R���R���RY��R���R���t���Requestt ���add_headert ���user_agentR5���(���R5���R���R6���R7��R8���t���paramsR:���R���R9��R:��Ro��R���R���t���requestR��t���s2t���h2t���path2t���param2t���query2t���frag2(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyR����s2����   !)c���������C���s���|��S(���N(����(���R5���(����(����sI���/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyt ���fix_sf_url��s����c������ ���C���s~��t��|���\�}�}�}�}�}�}�t�|��}�t�i�i�|��o�t�i�|���S|�i�d��o�t�i�i�|��o�g��}�x�t�i �|��D]�} �| �d�j�o9�t �t�i�i �|�| ��d��} �| �i ���} �| �i ���Pn1�t�i�i�t�i�i �|�| ���o�| �d�7} �n�|�i�d�| �| �f��q�Wd�|��d�d�i �|��} �d�\�} �} �n�d�\�} �} �} �h�d �d�6}�t�|��| �| �|�t�| ���S(���s7���Read a local path, with special support for directoriesR1���s ���index.htmlt���rs���<a href=%r>%s</a>s���<html><head><title>%ss%ss itOKisPath not founds Not founds text/htmls content-type(iR(isPath not founds Not found(RRRMR8tisfileRRR+RRRRSRRRRR(R5R6R7R8tparamR:RRNtfilesRRtbodytstatustmessageR((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pyRs, #   " (^RRRMRRRKRSRt functoolsRt pkg_resourcesRRRRRRRRR R R R R RxRt distutilsRtdistutils.errorsRtsetuptools.compatRRRRRRRRRRRRRRRR tfnmatchR!tsetuptools.py26compatR"tsetuptools.py27compatR#RR?tIRnRR@RR4RFt__all__t_SOCKET_TIMEOUTR&R<R*R%R>ROR'R`ReRhRwRRwtobjectRyRR$RRIRFRHRoRQRYRZR`RRRR(((sI/opt/alt/python33/lib/python3.3/site-packages/setuptools/package_index.pytsp       Xd         "  !!e   '+