/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip
NameSizeModeActions
commands/-0755rm
compat/-0755rm
models/-0755rm
operations/-0755rm
req/-0755rm
utils/-0755rm
vcs/-0755rm
_vendor/-0755rm
basecommand.py106170644editdlrm
basecommand.pyc83260644editdlrm
baseparser.py104650644editdlrm
baseparser.pyc113650644editdlrm
cmdoptions.py147010644editdlrm
cmdoptions.pyc144450644editdlrm
download.py319360644editdlrm
download.pyc265280644editdlrm
exceptions.py12570644editdlrm
exceptions.pyc35450644editdlrm
index.py478470644editdlrm
index.pyc410530644editdlrm
locations.py66440644editdlrm
locations.pyc57190644editdlrm
pep425tags.py44270644editdlrm
pep425tags.pyc42820644editdlrm
status_codes.py1560644editdlrm
status_codes.pyc4130644editdlrm
wheel.py301860644editdlrm
wheel.pyc250210644editdlrm
__init__.py104140755editdlrm
__init__.pyc95700644editdlrm
__main__.py5840644editdlrm
__main__.pyc5080644editdlrm
Edit: /usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyc (41053B)
vVc @@sdZddklZddkZddkZddklZddkZddkZddk Z ddk Z ddk Z ddk Z ddk Z ddklZddklZddklZddklZlZlZlZlZlZlZdd klZdd kl Z dd k!l"Z"l#Z#l$Z$l%Z%dd k&l'Z'l(Z(l)Z)dd k*l+Z+ddk,l-Z-l.Z.ddk/l0Z0l1Z1l2Z2ddk3l4Z4l5Z5l6Z6l7Z7ddk8lZ9ddk:l;Z;dddgZ<dddfdddfdddfdddfdde=fgZ>ei?e@ZAdeBfdYZCdeBfdYZDe iEde iFdZGd eBfd!YZHd"eBfd#YZIeIeZJedd$ZKd%ZLd&ZMd'ZNd(ZOed)d*ZPdS(+s!Routines related to PyPI, indexesi(tabsolute_importN(t namedtuple(tparse(trequest(t ipaddress(tInftcached_propertytnormalize_nametsplitexttnormalize_pathtARCHIVE_EXTENSIONStSUPPORTED_EXTENSIONS(tRemovedInPip8Warning(t indent_log(tDistributionNotFoundtBestVersionAlreadyInstalledtInvalidWheelFilenametUnsupportedWheel(tHAS_TLSt url_to_patht path_to_url(tPyPI(tWheelt wheel_ext(tsupported_tagstsupported_tags_noarcht get_platform(thtml5libtrequestst pkg_resourcestsix(tSSLErrort FormatControltfmt_ctl_handle_mutual_excludet PackageFinderthttpst*t localhosts 127.0.0.0/8s::1/128tfiletInstallationCandidatecB@sbeZdZdZdZdZdZdZdZdZ dZ d Z RS( cC@s@||_t||_||_|i|i|if|_dS(N(tprojectt parse_versiontversiontlocationt_key(tselfR(R*R+((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt__init__8s  cC@sdi|i|i|iS(Ns,(tformatR(R*R+(R-((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt__repr__>scC@s t|iS(N(thashR,(R-((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt__hash__CscC@s|i|dS(NcS@s ||jS(((tsto((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pytGs(t_compare(R-tother((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt__lt__FscC@s|i|dS(NcS@s ||jS(((R3R4((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR5Js(R6(R-R7((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt__le__IscC@s|i|dS(NcS@s ||jS(((R3R4((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR5Ms(R6(R-R7((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt__eq__LscC@s|i|dS(NcS@s ||jS(((R3R4((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR5Ps(R6(R-R7((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt__ge__OscC@s|i|dS(NcS@s ||jS(((R3R4((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR5Ss(R6(R-R7((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt__gt__RscC@s|i|dS(NcS@s ||jS(((R3R4((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR5Vs(R6(R-R7((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt__ne__UscC@s(t|tptS||i|iS(N(t isinstanceR'tNotImplementedR,(R-R7tmethod((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR6Xs( t__name__t __module__R.R0R2R8R9R:R;R<R=R6(((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR'6s         c B@seZdZddeededddZdZeedZdZ dZ dZ dZ dZ d Zd Zd Zeid Zd ZdZdZdZdZRS(sThis finds packages. This is meant to match easy_install's technique for looking for packages, by reading pages and looking for appropriate links. c C@s| djotdng|_x[|D]S} | ido-t| } tii| o | } qpn|ii| q-W||_ g|_ t |_ | pt t t |_t d|D|_t d|D|_|i|iO_||_g} |o|ngD]}| d|dfq'~ |_t|_t|_||_||_| |_tpXxUti|i |iD]7} ti| }|idjoti dPqqWndS( sCreate a PackageFinder. :param format_control: A FormatControl object or None. Used to control the selection of source packages / binary packages when consulting the index and links. s>PackageFinder() missing 1 required keyword argument: 'session't~cs@sx|]}t|VqWdS(N(R(t.0tn((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pys s cs@sx|]}t|VqWdS(N(R(RDRE((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pys s R$R#sipip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.N(!tNonet TypeErrort find_linkst startswithR tostpathtexiststappendt index_urlstdependency_linkstsett logged_linksR tformat_controltallow_externaltallow_unverifiedtallow_all_externaltsecure_originstFalsetneed_warn_externaltneed_warn_unverifiedtallow_all_prereleasestprocess_dependency_linkstsessionRt itertoolstchaint urllib_parseturlparsetschemetloggertwarning(R-RHRNRSRTRURZt trusted_hostsR[R\RRtlinktnew_linkt_[1]thosttparsed((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR.fsF       4     cC@s2|io$tidt|ii|ndS(NsXDependency Links processing has been deprecated and will be removed in a future release.(R[twarningstwarnR ROtextend(R-tlinks((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pytadd_dependency_linkss  c@s6ggfd}x |D]}tii|}|id}|p|o|o |}n t|}tii|ol|oItii|}xLti|D]}|tii||qWq|oi |qq(tii |o||q(q%i |q%WfS(st Sort locations into "files" (archives) and "urls", and return a pair of lists (files,urls) c@sNt|}ti|dtddjoi|ni|dS(Ntstrictis text/html(Rt mimetypest guess_typeRWRM(RKturl(tfilesturls(sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt sort_paths  sfile:( RJRKRLRIRtisdirtrealpathtlistdirtjoinRMtisfile(t locationst expand_dirRuRrt is_local_patht is_file_urlRKtitem((RsRtsA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt_sort_locationss.  !cC@stt}|itjo d}n\|iioGt|ii}|iptd|in|i }n| }|i |fS(sL Function used to generate link sort key for link tuples. The greater the return value, the more preferred it is. If not finding wheels, then sorted by version only. If finding wheels, then the sort order is by version, then: 1. existing installs 2. wheels ordered via Wheel.support_index_min() 3. source archives Note: it was considered to embed this logic into the Link comparison operators, but then different sdist links with the same version, would have to be considered equal isB%s is not a supported wheel for this platform. It can't be sorted.( tlenRR+tINSTALLED_VERSIONtis_wheelRtfilenamet supportedRtsupport_index_minR*(R-t candidatet support_numtpritwheel((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt_candidate_sort_keys    cC@st|d|idtS(s Bring the latest version (and wheels) to the front, but maintain the existing ordering as secondary. See the docstring for `_link_sort_key` for details. This function is isolated for easier unit testing. tkeytreverse(tsortedRtTrue(R-tapplicable_versions((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt_sort_versionss cC@stit|}|i|i|if}xit|iD]Z}|d|djo|ddjoq;nyti t |dt i p|ddjo |dn|did}tit |dt i o |dn|did}Wn@tj o4|d|djo|ddjoq;qVnX||joq;n|d|djo)|ddjo|ddj oq;ntSW|id|i|itS(NiR$itutf8isThe repository located at %s is not a trusted or secure host and is being ignored. If this repository is available via HTTPS it is recommended to use HTTPS instead, otherwise you may silence this warning and allow it anyways with '--trusted-host %s'.(R_R`tstrRathostnametporttSECURE_ORIGINSRVRt ip_addressR>Rt text_typeRFtdecodet ip_networkt ValueErrorRRcRW(R-RbR+Ritorigint secure_origintaddrtnetwork((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt_validate_secure_origins:&"&   c@sfd}ti|i|iot||iddt}|i|}|djo`ti t |joJt i d||ft |it|iddtpqndj o)g}|iD]}|||q~SgS(sReturns the locations found via self.index_urls Checks the url_name on the main (first in the list) index and use this url_name to produce all locations c@s4ti|}|idp|d}n|S(Nt/(t posixpathRytendswith(Rrtloc(tproject_url_name(sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pytmkurl_pypi_urldsittrustedsyFailed to find %r at %s. It is suggested to upgrade your index to support normalized names as the name in /simple/{name}.N(R_tquotetlowerRNtLinkRt _get_pageRFRtnetlocRRjRkR t_find_url_name(R-t project_nameRtmain_index_urltpageRgRr((RsA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt_get_index_urls_locations]s&   #   )cC@s|i|}|i|\}}|i|idt\}}|i|i\}}dti|||D} g} tid|Dd|Dd|DD]$} |it| o | | qq~ } ti dt | |x| D]} ti d| qWt i |i }t|i|}t|i ||}|id|iD|}g}xd|i| |D]P}ti d |itiiz |i|i|i|Wd QXqW|id |iD|}|o>ti d d ig}|D]}||iiq#~n|i| |}|oT|idtti dd ig}|D]}|t|iiq~n||||S(sFind all available versions for project_name This checks index_urls, find_links and dependency_links All versions found are returned See _link_package_versions for details on which files are accepted R|cs@sx|]}t|VqWdS(N(R(RDRr((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pys s cs@s%x|]}t|dtVqWdS(RN(RR(RDRr((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pys s cs@s%x|]}t|dtVqWdS(RN(RR(RDRr((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pys s cs@sx|]}t|VqWdS(N(R(RDRr((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pys s s,%d location(s) to search for versions of %s:s* %scs@s(x!|]}t|ddtVqWdS(s-fRN(RR(RDRr((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pys s sAnalyzing links from page %sNcs@sx|]}t|VqWdS(N(R(RDRr((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pys s sdependency_links found: %ss, RsLocal files found: %s(RRRHRROR]R^RRbtdebugRRt safe_nameRtfmt_ctl_formatsRRtSearcht_package_versionst _get_pagesRrR t__exit__t __enter__RlRmRyR+tsortR(R-Rtindex_locationstindex_file_loct index_url_loct fl_file_loct fl_url_loct dep_file_loct dep_url_loctfile_locationsRgRet url_locationsR+tcanonical_nametformatstsearchtfind_links_versionst page_versionsRtdependency_versionst_[2]R*t file_versionst_[3]R((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt_find_all_versionss^    '   /. c C@s|i|i}t|iig}|D]}|t|iq)~d|io |ind}g}|D]'}t|i|jo ||qsqs~}|i dj o/|i dt |i|i it t } nt} |i|}| o[| oT|dit jotid|i in"tid|i i|dddS|ptid|dittd|Dd t|iotid |in|iotid |intd |n|dit joAtid |i idid|dDpdtnt|djo1tid|didid|Dn|di} | idj o"| i otid|in| S(sTry to find an InstallationCandidate for req Expects req, an InstallRequirement and upgrade, a boolean Returns an InstallationCandidate or None May raise DistributionNotFound or BestVersionAlreadyInstalled t prereleasesisLExisting installed version (%s) is most up-to-date and satisfies requirementsUExisting installed version (%s) satisfies requirement (most up-to-date version is %s)isNCould not find a version that satisfies the requirement %s (from versions: %s)s, cs@s"x|]}t|iVqWdS(N(RR*(RDti((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pys %s RsqSome externally hosted files were ignored as access to them may be unreliable (use --allow-external %s to allow).sWSome insecure and unverifiable files were ignored (use --allow-unverified %s to allow).s%No matching distribution found for %ss=Installed version (%s) is most up-to-date (past versions: %s)cs@s"x|]}t|iVqWdS(N(RR*(RDR((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pys Ds itnones)Using version %s (newest of versions: %s)cs@s"x|]}t|iVqWdS(N(RR*(RDR((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pys Ms s,%s is potentially insecure and unverifiable.N(RtnameRPt specifiertfilterRR*RZRFt satisfied_bytinsertR'RRRWRR+RbRtcriticalRyRR)RXRcRYRRRt verifiable( R-treqtupgradet all_versionsRgtxt _versionsRRtexisting_applicabletselected_version((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pytfind_requirements| * ;            cC@s|iidp|id7_n|i|}|djotid|dSt|}xW|iD]L}ti |i i d}|t|joti d|||SqmWdS(s Finds the true URL name of a package, when the given name isn't quite correct. This is usually used to implement case-insensitivity. RsCannot fetch index base URL %sNs!Real name of requirement %s is %s( RrRRRFRbRRRmRtbasenameRKtrstripR(R-t index_urlturl_nameRt norm_nameRetbase((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyRZs     c c@s6t|}t}t|}x|o|id}||joq$n|i||i|}|djoq$n|Vx|iD]}||ijo+|i o t |_ t i d|qn|idj o;|i o0||ijo t i d|t |_qn|i|qWq$WdS(s Yields (page, page_url) from the given locations, skipping locations that have errors, and adding download/homepage links is@Not searching %s for files because external urls are disallowed.s_Not searching %s for urls, it is an untrusted link and cannot produce safe or verifiable files.N(tlistRPRtpoptaddRRFt rel_linksRSRURRXRbRRRTRYRM( R-R{Rt all_locationstseent normalizedR+RRe((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyRrs>           s-py([123]\.?[0-9]?)$cC@sugg}}t}xT|D]L}||jo9|i||io|i|qi|i|qqW||S(s Returns elements of links in order, non-egg links first, egg links second, while eliminating duplicates (RPRt egg_fragmentRM(R-Rmteggstno_eggsRRe((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt _sort_linkss     cC@sTg}xG|i|D]6}|i||}|dj o|i|qqW|S(N(Rt_link_package_versionsRFRM(R-RmRtresultRetv((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyRs cC@s;||ijo'tid|||ii|ndS(NsSkipping link %s; %s(RQRbRR(R-Retreason((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt_log_skipped_linksc C@st}d}|io|i}|i}n|i\}}|p|i|ddS|tjo|i|d|dSd|ijo)|tjo|i|d|i dSd|i jo"|djo|i|ddS|tjoDyt |i }Wn$t j o|i|d dSXti|ii|ijo|i|d |i dS|ip|i|d dSt|d d}|id  oK|id o:|dj o[|dj oNti|iiitio,|idtp|i|ddSn|i}nd|ijo)|tjo|i|d|i dS|pt||i |}n|djo|i|d |i dS|idj oS|i oHt |i i|i!jo)|i" o|i|dt#|_$dS|i%dj oH|i% o=t |i i|i&jo|i|dt#|_'dS|i(i)|} | oL|| i* }| i+d} | t,id jo|i|ddSnt-i.d||t/|i ||S(s'Return an InstallationCandidate or Nones not a fileNsunsupported archive format: %stbinarysNo binaries permitted for %stmacosx10s.zips macosx10 onesinvalid wheel filenameswrong project name (not %s)s%it is not compatible with this Pythont comes_fromtwintmacosxtclittagss;it is a pypi-hosted binary Wheel on an unsupported platformtsourcesNo sources permitted for %ssit is externally hosteds'it is an insecure and unverifiable fileiisPython version is incorrectsFound link %s, version: %s(0RRFRtextRRR RRtsuppliedRKRRRRRRRt canonicalRtgetattrRIR_R`RrRRRRR*tegg_info_matchestinternalRRSRURRXRRTRYt_py_version_reRtstarttgrouptsysRbRR'( R-ReRtplatformR*tegg_infoRRRtmatcht py_version((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyRs                        cC@sti|d|iS(NR\(tHTMLPagetget_pageR\(R-Re((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR1s((N(RARBt__doc__RWRFR.Rnt staticmethodRRRRRRRRRtretcompileRRRRRR(((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR"_s,T (  @ / S {  /    qs([a-z0-9_.]+)-([a-z0-9_.!+-]+)cC@s|i|}|ptid|dS|djo!|id}||idS|idi}|idd}|id}|i|o|idt |SdSdS(sxPull the version part out of a string. :param egg_info: The string to parse. E.g. foo-2.1 :param search_name: The name of the package this belongs to. None to infer the name. Note that this cannot unambiguously parse strings like foo-2-2 which might be foo, 2-2 or foo-2, 2. :param link: The link the string came from, for logging on failure. s%Could not parse version from link: %sit-t_N( RRbRRFRtindexRtreplaceRIR(R t search_nameRet _egg_info_reR t full_matchRtlook_for((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR5s  R cB@seZdZdddZdZeeddZe dddZ e dZ e dZ e dZed Zdd Zeid eiZdZRS(s'Represents one page, along with its URLcC@sd}|oEd|jo8ti|d\}}d|jo|d}qRn||_ti|id|dt|_||_||_ ||_ dS(Ns Content-TypetcharsettencodingtnamespaceHTMLElements( RFtcgit parse_headertcontentRRRWRiRrtheadersR(R-RRrR RRt content_typetparams((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR.Us      cC@s|iS(N(Rr(R-((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt__str__hscC@sM|djotdn|i}|iddd}ddkl}xV|iD]K}|ii|o/|t |djot i d||dSqVWy|oy|i }xmt D]a}|i|oK|i|d|} | iid oPq t i d || dSqqWnt i d |ti|\}} } } } }|d jo`tiiti| oD|id p|d 7}nti|d}t i d|n|i|dhd d6dd6}|i|iidd} | iid pt i d || dS||i|i|id|i}Wntij oB}|ii djodnd}|i!|||d|nti"j o }|i!|d||nnti#j o|i!|d|nFt$j o5}d|}|i!|||dddt i%nX|SdS(Ns9get_page() missing 1 required keyword argument: 'session't#ii(t VcsSupports+:sCannot look at %s URL %sR\s text/htmls,Skipping page %s because of Content-Type: %ssGetting page %sR&Rs index.htmls# file: URL is directory, getting %sR tAccepts max-age=600s Cache-Controls Content-TypetunknownRiitlevelsconnection error: %ss timed outs6There was a problem confirming the ssl certificate: %stmeth(&RFRGRrtsplittpip.vcsR%tschemesRRIRRbRRR Rt_get_content_typeR_R`RJRKRvturllib_requestt url2pathnameturljointgettraise_for_statusR RRRt HTTPErrortresponset status_codet _handle_failtConnectionErrortTimeoutRtinfo(tclsRet skip_archivesR\RrR%RaRtbad_extR!RRKR"tquerytfragmenttresptinsttexcR(R((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR ks|    -  !    'icC@s.|djo ti}n|d||dS(Ns%Could not fetch URL %s: %s - skipping(RFRbR(ReRRrR(R)((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR6s  cC@sbti|\}}}}}|djodS|i|dt}|i|iiddS(s;Get the Content-Type of the given url, using a HEAD requestthttpR#ttallow_redirectss Content-Type(shttpshttps(R_turlsplittheadRR2R R1(RrR\RaRRKR=R>R?((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR-s   c C@sg}|iidD]0}|iddidjo ||qq~}|o>yt|diddSWqttfj oqXndS(Ns.//metaRRCs api-versionitvalue(RitfindallR1RtintRFRGR(R-RgRtmetas((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt api_versions3 cC@sg}|iidD]'}|iddj o ||qq~}|o&|dido|didS|iSdS(Ns.//basethrefi(RiRHR1RFRr(R-RgRtbases((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pytbase_urls *cc@sx|iidD]}|ido|id}|iti|i|}d}|ioE|idjo5t |idod|idi j}nt ||d|VqqWdS(sYields all links in the pages.//aRLitrelRN( RiRHR1t clean_linkR_R0RNRFRKtboolR*R(R-tanchorRLRrR((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyRms"thomepagetdownloadcc@st|}x|iidD]}|ido|idoot|idi}||@oE|id}|iti|i|}t ||dt VqqqWdS(s)Yields all links with the given relationss.//aRORLRN( RPRiRHR1R*RPR_R0RNRRW(R-trelsRRt found_relsRLRr((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR s   s[^a-z0-9$&+,/:;=?@.#%_\\|-]cC@s|iid|S(sMakes sure a link is fully encoded. That is, if a ' ' shows up in the link, it will be rewritten to %20 (while not over-quoting % or other characters).cS@sdt|idS(s%%%2xi(tordR(R ((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR5"s(t _clean_retsub(R-Rr((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyRPs N(shomepagesdownload(RARBRRFR.R#t classmethodRR RR6R-RRKRNtpropertyRmRRRtIRXRP(((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR Rs Y  RcB@sUeZddddZdZdZdZdZdZdZ dZ dZ d Z e d Ze d Ze d Ze d ZdZe dZe dZeidZe dZeidZe dZe dZe dZe dZe dZe dZRS(cC@sU|tjo |idot|}n||_||_||_||_dS(Ns\\(RRIRRrRRR(R-RrRRR((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR.'s    cC@s0|iod|i|ifSt|iSdS(Ns %s (from %s)(RRrR(R-((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR#2s cC@sd|S(Ns ((R-((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR08scC@s%t|tptS|i|ijS(N(R>RR?Rr(R-R7((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR:;scC@s%t|tptS|i|ijS(N(R>RR?Rr(R-R7((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR=@scC@s%t|tptS|i|ijS(N(R>RR?Rr(R-R7((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR8EscC@s%t|tptS|i|ijS(N(R>RR?Rr(R-R7((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR9JscC@s%t|tptS|i|ijS(N(R>RR?Rr(R-R7((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR<OscC@s%t|tptS|i|ijS(N(R>RR?Rr(R-R7((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR;TscC@s t|iS(N(R1Rr(R-((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR2YscC@skti|i\}}}}}ti|idp|}ti|}|ptd|i|S(NRsURL %r produced no filename(R_RERrRRRtunquotetAssertionError(R-RRRKR((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR\s !cC@sti|idS(Ni(R_RERr(R-((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyRadscC@sti|idS(Ni(R_RERr(R-((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyRhscC@stiti|idS(Ni(R_R]RERr(R-((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyRKlscC@stti|iidS(NR(RRRRKR(R-((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyRpscC@s|idS(Ni(R(R-((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyRsscC@s=ti|i\}}}}}ti||||dfS(N(R_RERrt urlunsplitRF(R-RaRRKR=R>((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyturl_without_fragmentws!s #egg=([^&]*)cC@s.|ii|i}|pdS|idS(Ni(t_egg_fragment_reRRrRFR(R-R ((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR~ss2(sha1|sha224|sha384|sha256|sha512|md5)=([a-f0-9]+)cC@s.|ii|i}|o|idSdS(Ni(t_hash_reRRrRRF(R-R ((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR1scC@s.|ii|i}|o|idSdS(Ni(RbRRrRRF(R-R ((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt hash_namescC@s0ti|iidddidddS(NR$iit?(RRRrR*(R-((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pytshow_urlscC@s|ipt|idd}|dj o|o}y%t|idd}t|}Wnttfj o d}nX|djp |djodS|iotSt Sn|dj ot SdS(s Returns True if this link can be verified after download, False if it cannot, and None if we cannot determine. RRKiN( RRRRFRIRRGR1RRW(R-RRK((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyRs   cC@s |itjS(N(RR(R-((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyRscC@s,ddkl}|i|ijotStS(s Determines if this points to an actual artifact (e.g. a tarball) or if it points to an "abstract" thing like a path or a VCS location. i(tvcs(R+RfRat all_schemesRWR(R-Rf((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyt is_artifactsN( RARBRFR.R#R0R:R=R8R9R<R;R2R[RRaRRKRRR`RRRaRRbR1RcReRRRh(((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR%s6           #sno_binary only_binarycC@s|id}xYd|joK|i|i|id||idd4d|jodSqWx[|D]S}|djo|iqrnti|i}|i||i|qrWdS(Nt,s:all:is:none:(R*tclearRRRRRtdiscard(RGttargetR7tnewR((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyR!s"         cC@stddg}||ijo|idnd||ijo|idnCd|ijo|idn"d|ijo|idnt|S(NRRs:all:(RPt only_binaryRkt no_binaryt frozenset(tfmt_ctlRR((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyRscC@std|i|idS(Ns:all:(R!RoRn(Rq((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pytfmt_ctl_no_binaryscC@s$t|tidtdddS(Nsf--no-use-wheel is deprecated and will be removed in the future. Please use --no-binary :all: instead.t stackleveli(RrRjRktDeprecationWarning(Rq((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pytfmt_ctl_no_use_wheels  Rssupplied canonical formats(QRt __future__RtloggingRt collectionsRR]RRJRRpRRjtpip._vendor.six.moves.urllibRR_RR.t pip.compatRt pip.utilsRRRRR R R tpip.utils.deprecationR tpip.utils.loggingR tpip.exceptionsRRRRt pip.downloadRRRt pip.modelsRt pip.wheelRRtpip.pep425tagsRRRt pip._vendorRRRRtpip._vendor.packaging.versionR)tpip._vendor.requests.exceptionsRt__all__RFRt getLoggerRARbtobjectR'R"RR\RR RRR R!RRrRuR(((sA/usr/lib/python2.6/site-packages/pip-7.1.2-py2.6.egg/pip/index.pyts^         4""    )