usr/lib/python2.7/site-packages/pip/index.pyo000064400000104367147205160330015057 0ustar00 abc@@sdZddlmZddlZddlZddlmZddlZddlZddl Z ddl Z ddl Z ddl Z ddl Z ddlmZddlmZddlmZddlmZmZmZmZmZdd lmZdd lmZdd lm Z dd l!m"Z"m#Z#m$Z$m%Z%dd l&m'Z'm(Z(m)Z)m*Z*ddl+m,Z,m-Z-ddl.m/Z/ddl0m1Z1m2Z2m3Z3ddl4mZ5ddl6m7Z7ddl8m9Z9ddl:m;Z;ddl<m=Z=dddgZ>dddfdddfdddfdddfdde?fdddfgZ@ejAeBZCdeDfd YZEdeDfd!YZFe jGd"e jHd#ZId$eDfd%YZJd&eDfd'YZKedd(ZLd)ZMd*ZNd+ZOd,ZPed-d.ZQdS(/s!Routines related to PyPI, indexesi(tabsolute_importN(t namedtuple(tparse(trequest(t ipaddress(tcached_propertytsplitexttnormalize_pathtARCHIVE_EXTENSIONStSUPPORTED_EXTENSIONS(tRemovedInPip10Warning(t indent_log(tcheck_requires_python(tDistributionNotFoundtBestVersionAlreadyInstalledtInvalidWheelFilenametUnsupportedWheel(tHAS_TLStis_urlt path_to_urlt url_to_path(tWheelt wheel_ext(t get_supported(thtml5libtrequeststsix(tcanonicalize_name(t specifiers(tSSLError(tunescapet FormatControltfmt_ctl_handle_mutual_excludet PackageFinderthttpst*t localhosts 127.0.0.0/8s::1/128tfiletsshtInstallationCandidatecB@sbeZdZdZdZdZdZdZdZdZ dZ d Z RS( cC@s@||_t||_||_|j|j|jf|_dS(N(tprojectt parse_versiontversiontlocationt_key(tselfR(R*R+((s-/usr/lib/python2.7/site-packages/pip/index.pyt__init__>s  cC@sdj|j|j|jS(Ns,(tformatR(R*R+(R-((s-/usr/lib/python2.7/site-packages/pip/index.pyt__repr__DscC@s t|jS(N(thashR,(R-((s-/usr/lib/python2.7/site-packages/pip/index.pyt__hash__IscC@s|j|dS(NcS@s ||kS(N((tsto((s-/usr/lib/python2.7/site-packages/pip/index.pytMt(t_compare(R-tother((s-/usr/lib/python2.7/site-packages/pip/index.pyt__lt__LscC@s|j|dS(NcS@s ||kS(N((R3R4((s-/usr/lib/python2.7/site-packages/pip/index.pyR5PR6(R7(R-R8((s-/usr/lib/python2.7/site-packages/pip/index.pyt__le__OscC@s|j|dS(NcS@s ||kS(N((R3R4((s-/usr/lib/python2.7/site-packages/pip/index.pyR5SR6(R7(R-R8((s-/usr/lib/python2.7/site-packages/pip/index.pyt__eq__RscC@s|j|dS(NcS@s ||kS(N((R3R4((s-/usr/lib/python2.7/site-packages/pip/index.pyR5VR6(R7(R-R8((s-/usr/lib/python2.7/site-packages/pip/index.pyt__ge__UscC@s|j|dS(NcS@s ||kS(N((R3R4((s-/usr/lib/python2.7/site-packages/pip/index.pyR5YR6(R7(R-R8((s-/usr/lib/python2.7/site-packages/pip/index.pyt__gt__XscC@s|j|dS(NcS@s ||kS(N((R3R4((s-/usr/lib/python2.7/site-packages/pip/index.pyR5\R6(R7(R-R8((s-/usr/lib/python2.7/site-packages/pip/index.pyt__ne__[scC@s&t|tstS||j|jS(N(t isinstanceR'tNotImplementedR,(R-R8tmethod((s-/usr/lib/python2.7/site-packages/pip/index.pyR7^s( t__name__t __module__R.R0R2R9R:R;R<R=R>R7(((s-/usr/lib/python2.7/site-packages/pip/index.pyR'<s         c B@seZdZededdddddd ZdZeedZdZ dZ dZ dZ dZ d Zejd Zd Zd Zd ZdZdZRS(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|d krtdng|_xW|D]O} | jdrjt| } tjj| rj| } qjn|jj| q+W||_ g|_ t |_ |pt t t |_g|r|ngD]}d|df^q|_||_||_||_td| d|d| d| |_tsxRtj|j |jD]5} tj| }|jdkrItjd PqIqIWnd S( 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. :param platform: A string or None. If None, searches for packages that are supported by the current system. Otherwise, will find packages that can be built on the platform passed in. These packages will only be downloaded for distribution: they will not be built locally. :param versions: A list of strings or None. This is passed directly to pep425tags.py in the get_supported() method. :param abi: A string or None. This is passed directly to pep425tags.py in the get_supported() method. :param implementation: A string or None. This is passed directly to pep425tags.py in the get_supported() method. s>PackageFinder() missing 1 required keyword argument: 'session't~R#tversionstplatformtabitimplR"sipip is configured with locations that require TLS/SSL, however the ssl module in Python is not available.N(tNonet TypeErrort find_linkst startswithRtostpathtexiststappendt index_urlstdependency_linkstsett logged_linksRtformat_controltsecure_originstallow_all_prereleasestprocess_dependency_linkstsessionRt valid_tagsRt itertoolstchaint urllib_parseturlparsetschemetloggertwarning(R-RKRQRWt trusted_hostsRXRYRURFRERGtimplementationtlinktnew_linkthosttparsed((s-/usr/lib/python2.7/site-packages/pip/index.pyR.ls>        .    cC@s0|jr,tjdt|jj|ndS(NsXDependency Links processing has been deprecated and will be removed in a future release.(RXtwarningstwarnR RRtextend(R-tlinks((s-/usr/lib/python2.7/site-packages/pip/index.pytadd_dependency_linkss  c@sXggfd}x-|D]%}tjj|}|jd}|sX|r|rg|}n t|}tjj|r|rtjj|}xItj|D]}|tjj||qWq|rj |qqJtjj |r ||qJt j d|q%t |r:j |q%t j d|q%WfS(st Sort locations into "files" (archives) and "urls", and return a pair of lists (files,urls) c@sLt|}tj|dtddkr;j|n j|dS(Ntstrictis text/html(Rt mimetypest guess_typetFalseRP(RNturl(tfilesturls(s-/usr/lib/python2.7/site-packages/pip/index.pyt sort_paths sfile:s:Url '%s' is ignored: it is neither a file nor a directory.sQUrl '%s' is ignored. It is either a non-existing path or lacks a specific scheme.(RMRNRORLRtisdirtrealpathtlistdirtjoinRPtisfileR`RaR(t locationst expand_dirRtRqt is_local_patht is_file_urlRNtitem((RrRss-/usr/lib/python2.7/site-packages/pip/index.pyt_sort_locationss8         cC@st|j}|jjrkt|jj}|j|jsUtd|jn|j|j }n| }|j |fS(s[ 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(self.valid_tags) 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 sB%s is not a supported wheel for this platform. It can't be sorted.( tlenRZR+tis_wheelRtfilenamet supportedRtsupport_index_minR*(R-t candidatet support_numtwheeltpri((s-/usr/lib/python2.7/site-packages/pip/index.pyt_candidate_sort_keys  c C@stjt|}|j|j|jf}|djddd}xht|jD]Y}||dkr|ddkrqUnyt j t |dt j s|ddkr|dn|djd}t jt |dt j r|dn|djd}WnQtk r`|drs|dj|djkrs|ddkrsqUqsnX||krsqUn|d|dkr|ddkr|ddk rqUntSW|jd|j|jtS( Nit+iiR#tutf8isThe 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^tstrR_thostnametporttrsplittSECURE_ORIGINSRVRt ip_addressR?Rt text_typeRItdecodet ip_networkt ValueErrortlowertTrueRaRp( R-R`R+Rgtorigintprotocolt secure_origintaddrtnetwork((s-/usr/lib/python2.7/site-packages/pip/index.pyt_validate_secure_origins>        c@s/fd}g|jD]}||^qS(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@sAtj|tjt}|jds=|d}n|S(Nt/(t posixpathRxR]tquoteRtendswith(Rqtloc(t project_name(s-/usr/lib/python2.7/site-packages/pip/index.pytmkurl_pypi_urlhs  (RQ(R-RRRq((Rs-/usr/lib/python2.7/site-packages/pip/index.pyt_get_index_urls_locationsas c C@s|j|}|j|\}}|j|jdt\}}|j|j\}}dtj|||D} gtjd|Dd|Dd|DD]} |jt| r| ^q} tj dt | |x| D]} tj d| qWt |} t |j | }t|| |}|jd|jD|}g}xY|j| |D]E}tj d |jt!|j|j|j|Wd QXqsW|jd |jD|}|rtj d d jg|D]}|jj^qn|j| |}|ry|jdttj dd jg|D]}t|jj^qTn||||S(sFind all available InstallationCandidate for project_name This checks index_urls, find_links and dependency_links. All versions found are returned as an InstallationCandidate list. See _link_package_versions for details on which files are accepted R{cs@s|]}t|VqdS(N(tLink(t.0Rq((s-/usr/lib/python2.7/site-packages/pip/index.pys scs@s|]}t|VqdS(N(R(RRq((s-/usr/lib/python2.7/site-packages/pip/index.pys scs@s|]}t|VqdS(N(R(RRq((s-/usr/lib/python2.7/site-packages/pip/index.pys scs@s|]}t|VqdS(N(R(RRq((s-/usr/lib/python2.7/site-packages/pip/index.pys ss,%d location(s) to search for versions of %s:s* %scs@s|]}t|dVqdS(s-fN(R(RRq((s-/usr/lib/python2.7/site-packages/pip/index.pys ssAnalyzing links from page %sNcs@s|]}t|VqdS(N(R(RRq((s-/usr/lib/python2.7/site-packages/pip/index.pys ssdependency_links found: %ss, treversesLocal files found: %s(RRRKRRRR[R\RR`tdebugRRtfmt_ctl_formatsRUtSearcht_package_versionst _get_pagesRqR RjRkRxR+tsortR(R-Rtindex_locationstindex_file_loct index_url_loct fl_file_loct fl_url_loct dep_file_loct dep_url_loctfile_locationsRdt url_locationsR+tcanonical_nametformatstsearchtfind_links_versionst page_versionstpagetdependency_versionsR*t file_versionsR((s-/usr/lib/python2.7/site-packages/pip/index.pytfind_all_candidateswsZ          &) c C@s"|j|j}t|jjg|D]}t|j^q%d|jrR|jnd }g|D]!}t|j|kre|^qe}|rt |d|j }nd }|j d k rt |j j}nd }|d kr=|d kr=t jd|djttd|Ddt td|nt} |rm|d ksd|j|krmt} n| r|d k r| rt jd|nt jd||jd S| rt jd |djt|dt pd tnt jd |jdjt|dt |jS( sTry to find a Link matching req Expects req, an InstallRequirement and upgrade, a boolean Returns a Link if found, Raises DistributionNotFound or BestVersionAlreadyInstalled otherwise t prereleasestkeysNCould not find a version that satisfies the requirement %s (from versions: %s)s, cs@s|]}t|jVqdS(N(RR*(Rtc((s-/usr/lib/python2.7/site-packages/pip/index.pys ss%No matching distribution found for %ssLExisting installed version (%s) is most up-to-date and satisfies requirementsUExisting installed version (%s) satisfies requirement (most up-to-date version is %s)s=Installed version (%s) is most up-to-date (past versions: %s)tnones)Using version %s (newest of versions: %s)N(RtnameRSt specifiertfilterRR*RWRItmaxRt satisfied_byR)R`tcriticalRxtsortedR RpRRRR+( R-treqtupgradetall_candidatesRtcompatible_versionstapplicable_candidatestbest_candidatetinstalled_versiontbest_installed((s-/usr/lib/python2.7/site-packages/pip/index.pytfind_requirementsd ".       cc@sct}xS|D]K}||kr(qn|j||j|}|dkrVqn|VqWdS(sp Yields (page, page_url) from the given locations, skipping locations that have errors. N(RStaddt _get_pageRI(R-RzRtseenR+R((s-/usr/lib/python2.7/site-packages/pip/index.pyR-s     s-py([123]\.?[0-9]?)$cC@sqgg}}t}xP|D]H}||kr|j||jrU|j|qe|j|qqW||S(s Returns elements of links in order, non-egg links first, egg links second, while eliminating duplicates (RSRt egg_fragmentRP(R-Rkteggstno_eggsRRd((s-/usr/lib/python2.7/site-packages/pip/index.pyt _sort_links@s      cC@sRg}xE|j|D]4}|j||}|dk r|j|qqW|S(N(Rt_link_package_versionsRIRP(R-RkRtresultRdtv((s-/usr/lib/python2.7/site-packages/pip/index.pyRPs  cC@s9||jkr5tjd|||jj|ndS(NsSkipping link %s; %s(RTR`RR(R-Rdtreason((s-/usr/lib/python2.7/site-packages/pip/index.pyt_log_skipped_linkXsc C@sd}|jr$|j}|j}n^|j\}}|sP|j|ddS|tkrt|j|d|dSd|jkr|tkr|j|d|jdSd|j kr|dkr|j|ddS|tkryt |j }Wn"t k r|j|d dSXt |j|jkrP|j|d |jdS|j|jsv|j|d dS|j}nd |jkr|tkr|j|d |jdS|st||j|}n|dkr|j|d |jdS|jj|}|r^||j }|jd}|tjd kr^|j|ddSnyt|j} Wn3tjk rtjd|j |jt} nX| stjd||jdStjd||t |j||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 PythontsourcesNo sources permitted for %siisPython version is incorrects3Package %s has an invalid Requires-Python entry: %ss_The package %s is incompatible with the pythonversion in use. Acceptable python versions are:%ssFound link %s, version: %s(!RIRtextRRR RRtsuppliedRNRRRRRt canonicalRRZR*tegg_info_matchest_py_version_reRtstarttgrouptsysR trequires_pythonRtInvalidSpecifierR`RRR'( R-RdRR*tegg_infoRRtmatcht py_versiontsupport_this_python((s-/usr/lib/python2.7/site-packages/pip/index.pyR]s              cC@stj|d|jS(NRY(tHTMLPagetget_pageRY(R-Rd((s-/usr/lib/python2.7/site-packages/pip/index.pyRsN(RBRCt__doc__RpRIR.Rlt staticmethodRRRRRRRtretcompileRRRRRR(((s-/usr/lib/python2.7/site-packages/pip/index.pyR!es( Q 1  G  S c     Ms([a-z0-9_.]+)-([a-z0-9_.!+-]+)cC@s|j|}|s)tjd|dS|dkrU|jd}||jdS|jdj}|jdd}|jd}|j|r|jdt |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( RR`RRIRtindexRtreplaceRLR(Rt search_nameRdt _egg_info_reRt full_matchRtlook_for((s-/usr/lib/python2.7/site-packages/pip/index.pyRs  RcB@seZdZd dZdZeed dZe d dZ e dZ e dZ edZejdejZd ZRS( s'Represents one page, along with its URLcC@sd}|rMd|krMtj|d\}}d|krM|d}qMn||_tj|jd|dt|_||_||_ dS(Ns Content-Typetcharsetttransport_encodingtnamespaceHTMLElements( RItcgit parse_headertcontentRRRpRgRqtheaders(R-RRqRtencodingt content_typetparams((s-/usr/lib/python2.7/site-packages/pip/index.pyR.s     cC@s|jS(N(Rq(R-((s-/usr/lib/python2.7/site-packages/pip/index.pyt__str__scC@s|dkrtdn|j}|jddd}ddlm}xS|jD]H}|jj|rT|t |dkrTt j d||dSqTWy|r|j }xht D]]}|j|r|j|d|} | jjd rPqt j d || dSqqWnt j d |tj|\}} } } } }|d krtjjtj| r|jd s|d 7}ntj|d}t j d|n|j|did d6dd6}|j|jjdd} | jjd s$t j d || dS||j|j|j}Wntjk rk}|j|||ntk r}d|}|j|||dt j nWtj!k r}|j|d||n+tj"k r|j|d|nX|SdS(Ns9get_page() missing 1 required keyword argument: 'session't#ii(t VcsSupports+:sCannot look at %s URL %sRYs text/htmls,Skipping page %s because of Content-Type: %ssGetting page %sR%Rs index.htmls# file: URL is directory, getting %sRtAccepts max-age=600s Cache-Controls Content-Typetunknowns6There was a problem confirming the ssl certificate: %stmethsconnection error: %ss timed out(#RIRJRqtsplittpip.vcsR tschemesRRLRR`RRRRt_get_content_typeR]R^RMRNRuturllib_requestt url2pathnameturljointgettraise_for_statusRRRt HTTPErrort _handle_failRtinfotConnectionErrortTimeout(tclsRdt skip_archivesRYRqR R_Rtbad_extRtnetlocRNR tquerytfragmenttresptinsttexcR((s-/usr/lib/python2.7/site-packages/pip/index.pyRsr   +  !    cC@s,|dkrtj}n|d||dS(Ns%Could not fetch URL %s: %s - skipping(RIR`R(RdRRqR((s-/usr/lib/python2.7/site-packages/pip/index.pyR9s  cC@s`tj|\}}}}}|dkr.dS|j|dt}|j|jjddS(s;Get the Content-Type of the given url, using a HEAD requestthttpR"R6tallow_redirectss Content-Type(R'R"(R]turlsplittheadRRRR(RqRYR_R!RNR"R#R$((s-/usr/lib/python2.7/site-packages/pip/index.pyR@s   cC@sog|jjdD]!}|jddk r|^q}|rd|djdrd|djdS|jSdS(Ns.//basethrefi(RgtfindallRRIRq(R-txtbases((s-/usr/lib/python2.7/site-packages/pip/index.pytbase_urlNs !cc@sx|jjdD]}|jdr|jd}|jtj|j|}|jd}|rvt|nd}t ||d|VqqWdS(sYields all links in the pages.//aR+sdata-requires-pythonRN( RgR,Rt clean_linkR]RR/RRIR(R-tanchorR+Rqt pyrequire((s-/usr/lib/python2.7/site-packages/pip/index.pyRkYss[^a-z0-9$&+,/:;=?@.#%_\\|-]cC@s|jjd|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|jdS(Ns%%%2xi(tordR(R((s-/usr/lib/python2.7/site-packages/pip/index.pyR5mR6(t _clean_retsub(R-Rq((s-/usr/lib/python2.7/site-packages/pip/index.pyR0hs N(RBRCRRIR.R t classmethodRRRRRRR/tpropertyRkRRtIR4R0(((s-/usr/lib/python2.7/site-packages/pip/index.pyRs  U  RcB@saeZdddZdZdZdZdZdZdZ dZ dZ d Z e d Ze d Ze d Ze d ZdZe dZe dZejdZe dZejdZe dZejdZe dZe dZe dZe dZe dZ RS(cC@sI|jdrt|}n||_||_|r<|nd|_dS(s Object representing a parsed link from https://pypi.python.org/simple/* url: url of the resource pointed to (href of the link) comes_from: instance of HTMLPage where the link was found, or string. requires_python: String containing the `Requires-Python` metadata field, specified in PEP 345. This may be specified by a data-requires-python attribute in the HTML link tag, as described in PEP 503. s\\N(RLRRqt comes_fromRIR(R-RqR9R((s-/usr/lib/python2.7/site-packages/pip/index.pyR.rs   cC@sP|jrd|j}nd}|jr?d|j|j|fSt|jSdS(Ns (requires-python:%s)R6s%s (from %s)%s(RR9RqR(R-trp((s-/usr/lib/python2.7/site-packages/pip/index.pyR s   cC@sd|S(Ns ((R-((s-/usr/lib/python2.7/site-packages/pip/index.pyR0scC@s#t|tstS|j|jkS(N(R?RR@Rq(R-R8((s-/usr/lib/python2.7/site-packages/pip/index.pyR;scC@s#t|tstS|j|jkS(N(R?RR@Rq(R-R8((s-/usr/lib/python2.7/site-packages/pip/index.pyR>scC@s#t|tstS|j|jkS(N(R?RR@Rq(R-R8((s-/usr/lib/python2.7/site-packages/pip/index.pyR9scC@s#t|tstS|j|jkS(N(R?RR@Rq(R-R8((s-/usr/lib/python2.7/site-packages/pip/index.pyR:scC@s#t|tstS|j|jkS(N(R?RR@Rq(R-R8((s-/usr/lib/python2.7/site-packages/pip/index.pyR=scC@s#t|tstS|j|jkS(N(R?RR@Rq(R-R8((s-/usr/lib/python2.7/site-packages/pip/index.pyR<scC@s t|jS(N(R1Rq(R-((s-/usr/lib/python2.7/site-packages/pip/index.pyR2scC@sRtj|j\}}}}}tj|jdp<|}tj|}|S(NR(R]R)RqRtbasenametrstriptunquote(R-RR!RNR((s-/usr/lib/python2.7/site-packages/pip/index.pyRs!cC@stj|jdS(Ni(R]R)Rq(R-((s-/usr/lib/python2.7/site-packages/pip/index.pyR_scC@stj|jdS(Ni(R]R)Rq(R-((s-/usr/lib/python2.7/site-packages/pip/index.pyR!scC@stjtj|jdS(Ni(R]R=R)Rq(R-((s-/usr/lib/python2.7/site-packages/pip/index.pyRNscC@sttj|jjdS(NR(RRR;RNR<(R-((s-/usr/lib/python2.7/site-packages/pip/index.pyRscC@s|jdS(Ni(R(R-((s-/usr/lib/python2.7/site-packages/pip/index.pyRscC@s=tj|j\}}}}}tj||||dfS(N(R]R)Rqt urlunsplitRI(R-R_R!RNR"R#((s-/usr/lib/python2.7/site-packages/pip/index.pyturl_without_fragments!s[#&]egg=([^&]*)cC@s,|jj|j}|sdS|jdS(Ni(t_egg_fragment_reRRqRIR(R-R((s-/usr/lib/python2.7/site-packages/pip/index.pyRss[#&]subdirectory=([^&]*)cC@s,|jj|j}|sdS|jdS(Ni(t_subdirectory_fragment_reRRqRIR(R-R((s-/usr/lib/python2.7/site-packages/pip/index.pytsubdirectory_fragmentss2(sha1|sha224|sha384|sha256|sha512|md5)=([a-f0-9]+)cC@s,|jj|j}|r(|jdSdS(Ni(t_hash_reRRqRRI(R-R((s-/usr/lib/python2.7/site-packages/pip/index.pyR1s cC@s,|jj|j}|r(|jdSdS(Ni(RCRRqRRI(R-R((s-/usr/lib/python2.7/site-packages/pip/index.pyt hash_names cC@s0tj|jjdddjdddS(NR iit?(RR;RqR(R-((s-/usr/lib/python2.7/site-packages/pip/index.pytshow_urlscC@s |jtkS(N(RR(R-((s-/usr/lib/python2.7/site-packages/pip/index.pyRscC@s*ddlm}|j|jkr&tStS(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(RRGR_t all_schemesRpR(R-RG((s-/usr/lib/python2.7/site-packages/pip/index.pyt is_artifactsN(!RBRCRIR.R R0R;R>R9R:R=R<R2R7RR_R!RNRRR?RRR@RRARBRCR1RDRFRRI(((s-/usr/lib/python2.7/site-packages/pip/index.pyRps8          sno_binary only_binarycC@s|jd}xUd|krf|j|j|jd||jdd4d|krdSqWxP|D]H}|dkr|jqnnt|}|j||j|qnWdS(Nt,s:all:is:none:(RtclearRRRtdiscard(tvaluettargetR8tnewR((s-/usr/lib/python2.7/site-packages/pip/index.pyR s         cC@stddg}||jkr1|jdn]||jkrP|jdn>d|jkro|jdnd|jkr|jdnt|S(NRRs:all:(RSt only_binaryRLt no_binaryt frozenset(tfmt_ctlRR((s-/usr/lib/python2.7/site-packages/pip/index.pyR-scC@std|j|jdS(Ns:all:(R RQRP(RS((s-/usr/lib/python2.7/site-packages/pip/index.pytfmt_ctl_no_binary:scC@s$t|tjdtdddS(Nsf--no-use-wheel is deprecated and will be removed in the future. Please use --no-binary :all: instead.t stackleveli(RTRhRiR (RS((s-/usr/lib/python2.7/site-packages/pip/index.pytfmt_ctl_no_use_wheel?s  Rssupplied canonical formats(RRt __future__RtloggingRt collectionsRR[RRMRRnRRhtpip._vendor.six.moves.urllibRR]RRt pip.compatRt pip.utilsRRRRR tpip.utils.deprecationR tpip.utils.loggingR tpip.utils.packagingR tpip.exceptionsR RRRt pip.downloadRRRRt pip.wheelRRtpip.pep425tagsRt pip._vendorRRRtpip._vendor.packaging.versionR)tpip._vendor.packaging.utilsRtpip._vendor.packagingRtpip._vendor.requests.exceptionsRtpip._vendor.distlib.compatRt__all__RIRt getLoggerRBR`tobjectR'R!RR8RRRRR RRTRVR(((s-/usr/lib/python2.7/site-packages/pip/index.pytsd         (""     )M