/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req
NameSizeModeActions
req_file.py119280644editdlrm
req_file.pyc104970644editdlrm
req_install.py455890644editdlrm
req_install.pyc370600644editdlrm
req_set.py323120644editdlrm
req_set.pyc239220644editdlrm
req_uninstall.py68970644editdlrm
req_uninstall.pyc82270644editdlrm
__init__.py2760644editdlrm
__init__.pyc5020644editdlrm
Edit: /usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyc (37060B)
Wc$@@sddklZddkZddkZddkZddkZddkZddkZddkZddk Z ddk Z ddk l Z ddk lZddklZddklZlZddklZddklZdd klZdd klZddkZdd kl Z l!Z!l"Z"dd k#l$Z$l%Z%l&Z&l'Z'dd k(l)Z)l*Z*l+Z+ddk,l-Z-l.Z.l/Z/l0Z0ddk1l2Z2l3Z3l4Z4l5Z5l6Z6l7Z7l8Z8l9Z9l:Z:l;Z;l<Z<l=Z=l>Z>l?Z?l@Z@lAZAddkBlCZCddkDlEZElFZFddkGlHZHddkIlJZJddkKlLZLddkMlNZNddkOlPZPddklQZQlRZRddkSlTZTeiUeVZWeiXiYiZZ[dZ\de]fdYZ^dZ_dZ`eadZbdS(i(tabsolute_importN(t sysconfig(t change_root(t FeedParser(t pkg_resourcestsix(t interpret(t specifiers(tcanonicalize_name(t configparser(t native_strt get_stdlibtWINDOWS(tis_urlt url_to_patht path_to_urltis_archive_file(tInstallationErrortUninstallationErrortUnsupportedWheel(tbin_pytrunning_under_virtualenvtPIP_DELETE_MARKER_FILENAMEtbin_user(t display_pathtrmtreetask_path_existst backup_dirtis_installable_dirtdist_in_usersitetdist_in_site_packagest egg_link_pathtcall_subprocesstread_text_filetFakeFilet_make_build_dirt ensure_dirtget_installed_versiontnormalize_patht dist_is_local(tHashes(tRemovedInPip9WarningtRemovedInPip10Warning(t indent_log(tSETUPTOOLS_SHIM(t open_spinner(tUninstallPathSet(tvcs(tmove_wheel_filestWheel(tVersioncC@sQtid|}d}|o"|id}|id}n|}||fS(Ns^(.+)(\[[^\]]+\])$ii(tretmatchtNonetgroup(tpathtmtextrastpath_no_extras((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyt _strip_extras8stInstallRequirementc B@seZd&ed&eeed&ed&d&ed Zed&d&ed&d&edZed&ed&d&edZdZ dZ dZ e dZ e dZdZd Zd Ze d Ze d Ze d ZdZdZdZdZeidZe dZdZedZedZdZ dZ!dZ"dZ#dZ$gd&d&dZ%dZ&dZ'd'd&dZ(d Z)e d!Z*d&d&d"Z+d#Z,e d$Z-ed%Z.RS((c@sd|_ttioytiiWntij o{ti i jo d}nBdjo(t fdt D o d}n t i}td|fnXi|_n|_||_| |_||_||_| |_||_|_||_| |_d|_d|_d|_d|_d|_||_ d|_!d|_"t#|_$t#|_%d|_&| o| nh|_'||_(t#|_)| |_*dS(Ns%It looks like a path. Does it exist ?t=c3@sx|]}|jVqWdS(N((t.0top(treq(sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pys Qs s,= is not a valid operator. Did you mean == ?sInvalid requirement: '%s' %s((+R9t isinstanceRt string_typesRt RequirementtparsetRequirementParseErrortosR7tseptanyt operatorst tracebackt format_excRR@t comes_fromt constraintt source_dirteditablet _wheel_cachetlinkt original_linktas_eggtmarkersR5t_egg_info_patht satisfied_bytconflicts_witht_temp_build_dirt_ideal_build_dirtupdatetinstall_succeededt uninstalledtFalsetnothing_to_uninstallt use_user_sitet target_dirtoptionst pycompiletpreparedtisolated(tselfR@RLRNRORQRSRZRbRTRdRat wheel_cacheRMtadd_msg((R@sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyt__init__FsJ  +                       cC@sddkl}t||\} } } | idot| } nd} || |d| dtd|| d|d|d |o|nhd |} | dj o | | _n| S( Ni(tLinksfile:RNRORQRMRdRaRf(t pip.indexRitparse_editablet startswithRR5tTrueR9(tclst editable_reqRLt default_vcsRdRaRfRMRitnameturltextras_overrideRNtres((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyt from_editables     cC@sddkl}t|o d}nd}||jo9|i|d\}} | i} | p d} qynd} |i}d} tiitii |} d} d} t|o||} nt | \}} tii |oZtii |jp|i do7t|ptd|n|t|} nKt|o=tii|ptid|n|t|} n| o| id joGtid | io1|ttiitii | i} n| ioMt| i}|iptd |ind |i|if} qc| i } n|} |o|nh}|| |d | d| d|d|d|d|}| o t!i"i#d| i$|_$n|S(sCreates an InstallRequirement from a name, which might be a requirement, directory containing 'setup.py', filename, or URL. i(Ris; t;it.s;Directory %r is not installable. File 'setup.py' not found.sARequirement %r looks like a filename, but the file does not existtfiles\.\./s-%s is not a supported wheel on this platform.s%s==%sRQRTRdRaRfRMt__placeholder__N(%RjRiR tsplittstripR5RFR7tnormpathtabspathR;tisdirRGRlRRRRtisfiletloggertwarningtschemeR3tsearchRrtis_wheelR1tfilenamet supportedRRqtversiont egg_fragmentRRCRDR9(RnRqRLRdRaRfRMRit marker_sepRTR@R7RQR9tptwheelRt((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyt from_linesh      #   &.     cC@s|io5t|i}|io|d|ii7}q\n|io |iind}|idj o|dt|ii7}n|ioOt |it i o |i}n|ii }|o|d|7}qn|S(Ns from %ss in %ss (from %s)( R@tstrRQRrR5RVRtlocationRLRARRBt from_path(RetsRL((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyt__str__s    cC@s d|iit||ifS(Ns<%s object: %s editable=%r>(t __class__t__name__RRO(Re((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyt__repr__scC@s|idjo|i|||_n|idj oZ| oR|i}|ii|i|i|_||ijotid|iqndS(sEnsure that if a link can be found for this, that it is found. Note that self.link may still be None - if Upgrade is False and the requirement is already installed. If require_hashes is True, don't use the wheel cache, because cached wheels, always built locally, have different hashes than the files downloaded from the index server and thus throw false hash mismatches. Furthermore, cached wheels at present have undeterministic contents due to file modification times. sUsing cached wheel link: %sN(RQR5tfind_requirementRPt cached_wheelRqRtdebug(Retfindertupgradetrequire_hashestold_link((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyt populate_links  cC@s |iiS(N(R@t specifier(Re((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyRscC@s5|i}t|djott|idjS(sReturn whether I am pinned to an exact version. For example, some-package==1.2 is pinned; some-package>1.2 is not. is==s===(s==s===(Rtlentnexttitertoperator(ReR((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyt is_pinneds cC@s|idjodSt|i}|ioOt|itio |i}n|ii}|o|d|7}q}n|S(Ns->(R@R5RRLRARRBR(ReRRL((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyR&s  cC@s|idj o|iS|idjo&tidd|_||_|iS|io|ii}n |i}t i i |pt i d|t|nt i i||S(Ns-buildspip-sCreating directory %s(RXR5R@ttempfiletmkdtempRYRORqtlowerRFR7texistsRRR#tjoin(Ret build_dirRq((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pytbuild_location3s   cC@s|idj odS|idj pt|ipt|ipt|i}d|_|i|i}tii |ot dt |nt i d|t |t |ti||||_d|_||_d|_dS(sMove self._temp_build_dir to self._ideal_build_dir/self.req.name For some requirements (e.g. a path to a directory), the name of the package is not available until we run egg_info, so the build_location will return a temporary directory and store the _ideal_build_dir. This is only called by self.egg_info_path to fix the temporary build directory. Ns<A package already exists in %s; please remove it to continues,Moving package %s from %s to new location %s(RNR5R@tAssertionErrorRXRYRRFR7RRRRRtshutiltmoveRU(Ret old_locationt new_location((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyt_correct_build_locationIs(      cC@s%|idjodSt|iiS(N(R@R5R t project_name(Re((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyRqiscC@s-tii|i|io |iipdS(Nt(RFR7RRNRQtsubdirectory_fragment(Re((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyt setup_py_diros cC@s|iptd|yddk}WnLtj o@tddjo d}n ti}td|nXt i i |i d}t io,t|t io|iti}n|S(NsNo source dir for %sit setuptoolssPlease install setuptools.sWCould not import setuptools which is required to install from a source distribution. %sssetup.py(RNRRt ImportErrorR%R5RJRKRRFR7RRRtPY2RAt text_typetencodetsystgetfilesystemencoding(ReRRgtsetup_py((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyRus  cC@s|ipt|iotid|i|intid|i|itii zt |i}t i d|g}|i o|dg7}n|dg}|io g}n/tii|id}t|ddg}t||d|id td tid d WdQX|ip|tti|id to d}nd}tiidi|id||id g|_|i nkt!|id}t!|ii"|jo;ti#d|i|i||itii||_ndS(Ns2Running setup.py (path:%s) egg_info for package %ss7Running setup.py (path:%s) egg_info for package from %ss-cs --no-user-cfgtegg_infos pip-egg-infos --egg-basetcwdt show_stdoutt command_levelt command_descspython setup.py egg_infoR2s==s===RtNamesuRunning setup.py (path:%s) egg_info for package %s produced metadata for project name %s. Fix your #egg=%s fragments.($RNRRqRRRRQR+t__exit__t __enter__R,Rt executableRdRORFR7RRR$R R]tloggingtDEBUGR@RARt parse_versiontpkg_infoR2RCRDRRRR(Retscripttbase_cmdt egg_info_cmdtegg_base_optiont egg_info_dirR?t metadata_name((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyt run_egg_infosV                 cC@s|idj o)|ii|pdS|ii|S|ipt|i|}tii |pdSt |}|S(N( RVR5t has_metadatat get_metadataRNRt egg_info_pathRFR7RR!(ReRtdata((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyt egg_info_datas c C@sb|idjo<|io |i}ntii|id}ti|}|iong}x,ti |D]\}}}x/t i D]$}||jo|i |qqWxt |D]}tiitii||ddp(tiitii||ddo|i |q|djp |djo|i |qqW|ig}|D]}|tii||qc~qnWg} |D]!} | ido | | qq~ }n|ptd ||fn|ptd ||ft|d jo|id d ntii||d |_ntii|i|S(Ns pip-egg-infotbintpythontScriptss Python.exettestttestss .egg-infos$No files/directories in %s (from %s)itkeycS@s:|itiitiio|itiipdS(i(tcountRFR7RGtaltsep(tx((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pytsi(RUR5RORNRFR7RRtlistdirtwalkR/tdirnamestremovetlistRtextendtendswithRRRtsort( ReRtbaset filenamestroottdirstfilestdirt_[1]t_[2]tf((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyRsH          .9   cC@s`t}|id}|p#tidt|idn|i|pd|iS(NsPKG-INFOsNo PKG-INFO file found in %sR(RRRRRRtfeedtclose(ReRR((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyR s s \[(.*?)\]cC@s t|iS(N(R%Rq(Re((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pytinstalled_versionscC@sn|ipt|id}||ijotid||in tidt|i||dS(NRs'Requested %s, but installing version %ss;Source in %s has version %s, which satisfies requirement %s( RNRRR@RRRRR(ReR((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pytassert_source_matches_versions cC@s)|iptid|idS|ipt|ipt|iidjodSd|iijptd|ii|ipdS|iii dd\}}t i |}|oA||ii}|o|i |iq%|i |indptd|i|fdS(Ns>Cannot update repository at %s; repository location is unknownRxt+s bad url: %riis+Unexpected version control type (in %s): %s(RQRRRNRORRRrRZRzR/t get_backendtobtaintexport(ReRtvc_typeRrtbackendt vcs_backend((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pytupdate_editable-s,  '  c C@sk|iptd|ifn|ip|i}t|i}t|p*ti d|i |t i t |_dS|tjo$ti d|i |t |_dSt|}t|}diti|i}|iotii|i}t|idd}|o|iidou|ii| oa|i|i|idoUx:|i di!D]7} tii"tii#|i| } |i| qWqw|id o|id o|i d } ng} xg} |i d i!D]%} | o| | jo | | qq~ D]^}tii#|i|} |i| |i| d |i| d |i| d q@Wqwn|o-t$i%di|it&|i|n|iidoe|i|itii'|id}tii#tii(|id}|i)|d|n"|ot*|di+i,}z+|~}tii-|i.i/}WdQX||ijpt0d||i|if|i|tii#tii(|d}|i)||in_|oA|iido.xAt1i2i3|D]} |i| qFWnti4d||i|ido|i5dox|i6dD]j}t7|o t8}nt9}|itii#||t:o$|itii#||dqqWn|ido(t;i<o h}nhd d6}t=i>|}|i?t@|iAd|iBdox|iCdD]\}}t7|o t8}nt9}|itii#||t:od|itii#||d|itii#||d|itii#||dqqWqQn|iD|||_EdS(!s Uninstall the distribution currently satisfying this requirement. Prompts before removing or modifying files unless ``auto_confirm`` is True. Refuses to delete or modify files outside of ``sys.prefix`` - thus uninstallation within a virtual environment can only modify that virtual environment, even if the virtualenv is linked to global site-packages. s.Cannot uninstall requirement %s, not installeds1Not uninstalling %s at %s, outside environment %sNs<Not uninstalling %s at %s, as it is in the standard library.s {0}.egg-infoR7s .egg-infosinstalled-files.txts top_level.txtsnamespace_packages.txts.pys.pycs.pyosUninstalling a distutils installed project ({0}) has been deprecated and will be removed in a future version. This is due to the fact that uninstalling a distutils project will only partially uninstall the project.s.eggiseasy-install.pths./trs;Egg-link %s does not match installed location of %s (at %s)s .dist-infos)Not sure how to uninstall: %s - Check: %stscriptss.batsentry_points.txtR=t delimiterstconsole_scriptss.exes .exe.manifests -script.py(R=(Ftcheck_if_existsRRqRVRWR&RR'RtinfoRRtprefixRmR^R R.RtformatRt to_filenameRRRFR7Rtgetattrt _providerR5RtaddRRt splitlinesR|RtwarningstwarnR*Rztdirnametadd_pthtopenRRtnormcasetreadlineR{RtpipRtuninstallation_pathsRtmetadata_isdirtmetadata_listdirRRRR RRR tSafeConfigParsertreadfpR"tget_metadata_linest has_sectiontitemsRR\(Ret auto_confirmtdistt dist_pathtpaths_to_removetdevelop_egg_linktdevelop_egg_link_egg_infotegg_info_existstdistutils_egg_infotinstalled_fileR7t namespacesRRt top_level_pkgteasy_install_eggteasy_install_pthRtfht link_pointerRtbin_dirRatconfigRqtvalue((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyt uninstallJs          &   &$      ,      * cC@s2|io|iintid|idS(Ns'Can't rollback %s, nothing uninstalled.(R\trollbackRterrorRq(Re((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pytrollback_uninstalls cC@s@|io|iin"|iptid|indS(Ns%Can't commit %s, nothing uninstalled.(R\tcommitR^RR-Rq(Re((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pytcommit_uninstalls   cC@s|iptt}d|i|idf}tii||}tii|ot dt |d}|djo t }q|djo't i dt |ti|q|djo?t|}t i dt |t |ti||qn|ozti|dtid t}tiitii|i}xti|D]\} } } d | jo| id nxl| D]d} tii| | } |i| |} ti|id | d }d|_|i|dqWxd| D]\}|tjoq ntii| |}|i||} |i||id | q WqfW|it i dt |ndS(Ns %s-%s.zipRs/The file %s exists. (i)gnore, (w)ipe, (b)ackup titwtbs Deleting %ssBacking up %s to %st allowZip64s pip-egg-infot/iiRsSaved %s(R1R2R3i(!RNRRmRqRRFR7RRRRR]RRRRRRtzipfiletZipFilet ZIP_DEFLATEDRR}RRt_clean_zip_nametZipInfot external_attrtwritestrRtwriteRR(ReRtcreate_archivet archive_namet archive_pathtresponset dest_filetzipRtdirpathRRR RqtzipdirR((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pytarchivesZ        !   # cC@s^|i|tiiptd||f|t|d}|itiid}|S(Ns$name %r doesn't start with prefix %riR5(RlRFR7RGRRtreplace(ReRqR((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyR9+s cC@s&|idj ot|iStSdS(N(RTR5tmarkers_interpretRm(Re((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyt match_markers3sc@s|io|i||d|dS|ioUtii|i}tii||i|i |idd|t |_ dS||i i dg7}||i i dg7}|iot|dg}ntidd}tii|d}zYtid g}|id |it|i|t|d d |g7}|ip|d g7}ndj o|dg7}n|dj o|d|g7}n|io|dg7}n|dg7}toBdti} |dtiiti dd| |ig7}nd|if} t!| i"i#} zK| ~ } t$i"i#z't%||d|i&dt'd| WdQXWdQXtii(|pt)i*d|dSt |_ |iodSfd} t+|i"i#}ze|~}xU|D]9}tii,|}|i-do| |}PqqWt)i.d|dSWdQXg}t+|i"i#}zs|~}xc|D][}|i/}tii0|o|tii17}n|itii2| ||qWWdQXtii|d}t+|di"i#}z'|~}|i3d i|d WdQXWdtii(|oti4|nt5|XdS(!NRRtglobal_optionstinstall_optionss --no-user-cfgs-recordspip-sinstall-record.txts-us-ctinstalls--records#--single-version-externally-manageds--roots--prefixs --compiles --no-compileRs--install-headerstincludetsitesRunning setup.py install for %sRRtspinnersRecord file %s not foundc@s7djptii| o|St|SdS(N(R5RFR7tisabsR(R7(R(sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyt prepend_roots!s .egg-infos;Could not find .egg-info directory in install record for %ssinstalled-files.txtR2s (6ROtinstall_editableRRRt wheel_versionRNtcheck_compatibilityRqR0RmR[RatgetRdRRRRFR7RRRtappendR,RRSR5RbRRtget_python_versionRR-RRR+R RR]RRRR R RRR{R~RGtrelpathR=RR(ReRKRJRRRt temp_locationtrecord_filenamet install_argst py_ver_strtmsgRRORQRRtlinet directoryRt new_linest_[3]Rtinst_files_patht_[4]((RsK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyRL9s            #    #   #  &$cC@s-|idjo|i||_n|iS(sAEnsure that a source_dir is set. This will create a temporary build dir if the name of the requirement isn't known yet. :param parent_dir: The ideal pip parent_dir for the source_dir. Generally src_dir for editables and build_dir for sdists. :return: self.source_dir N(RNR5R(Ret parent_dir((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pytensure_has_source_dirs cC@s|ioItiitii|ito$tid|it|ind|_|i o'tii|i ot|i nd|_ dS(sVRemove the source files from this requirement, if they are marked for deletionsRemoving source in %sN( RNRFR7RRRRRRR5RX(Re((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pytremove_temporary_sources  c C@stid|i|iot|dg}n|o&di|g}t||}ntiizNt t i dt |i gt|ddgt|d|idtWdQXt|_dS( NsRunning setup.py develop for %ss --no-user-cfgs --prefix={0}s-ctdevelops --no-depsRR(RRRqRdRRR+RRR RRR,RRR]RmR[(ReRKRJRt prefix_param((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyRRs *   cC@s|idjotSyti|i|_Wntij otStij oti|ii}|i oUt |o ||_ qt o-t |o td|i|ifqq||_ nXtS(sFind an installed distribution that satisfies or conflicts with this requirement, and set self.satisfied_by or self.conflicts_with appropriately. sVWill not install to the user site because it will lack sys.path precedence to %s in %sN(R@R5R]Rtget_distributionRVtDistributionNotFoundtVersionConflictRR_RRWRRRRRm(Ret existing_dist((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyRs&     cC@s|io |iiS(N(RQR(Re((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyRscC@sJt|i|i|d|id|id|d|d|id|idS(NtuserthomeRRRbRd(R0RqR@R_R`RbRd(RetwheeldirRR((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyR0s   cC@s|idid}tii|}ti||}tiitii|d}ti tii|d|d|S(sAReturn a pkg_resources.Distribution built from self.egg_info_pathRR5iRtmetadata( RtrstripRFR7R Rt PathMetadatatsplitexttbasenamet Distribution(ReRtbase_dirRpt dist_name((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pytget_dist s"cC@st|iidhS(sReturn whether any known-good hashes are specified as options. These activate --require-hashes mode; hashes specified as part of a URL do not. thashes(tboolRaRU(Re((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pythas_hash_optionsscC@ss|iidhi}|o |in|i}|o-|io#|i|igi|int |S(sReturn a hash-comparer that considers my option- and URL-based hashes to be known-good. Hashes in URLs--ones embedded in the requirements file, not ones downloaded from an index server--are almost peers with ones from flags. They satisfy --require-hashes (whether it was implicitly or explicitly activated) but do not activate it. md5 and sha224 are not allowed in flags, which should nudge people toward good algos. We always OR all hashes together, even ones from URLs. :param trust_internet: Whether to trust URL-based (#md5=...) hashes downloaded from the internet, as by populate_link() Ry( RaRUtcopyRQRRthasht setdefaultt hash_nameRVR((Rettrust_internett good_hashesRQ((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyRys #N((/Rt __module__R5R]RmRht classmethodRuRRRRtpropertyRRRRRRqRRRRRRR3tcompilet_requirements_section_reRRRR+R.R0RFR9RIRLReRfRRRRR0RxR{Ry(((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyR<Ds^  8  P      < 6      .   m     cC@s0tid|}|o|id}n|S(s2 Strip req postfix ( -dev, 0.2, etc ) s^(.*?)(?:-dev|-\d.*)$i(R3RR6(R@R4((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyt_strip_postfix4scC@sg}|idddidD]}|o ||q$q$~}d}t|djo|ddjo|d }n3t|djo|d d jo|d}n|otidtddn|S(Nt#iiR5iittagstbranchesttagtbranchiittrunksSniffing the requirement name from the url is deprecated and will be removed in the future. Please specify an #egg segment instead.t stacklevel(stagsRstagsbranch(RzR5RR R R)(RrRRtpartsR@((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyt_build_req_from_url@sE$$ c C@s^ddkl}|}d}tid|}|o"|id}|id}n|}tii|oFtii tii |dpt d|nt |}n|i idoH||i}|o!||tiid |ifS||dfSnx=tD]5}|i id |od ||f}PqqWd |jo-|o|d |}qt d |n|id ddi } ti| pPd|di g} tiD]} | | idq~ d} t | n||i}|pt|}n|pt d|nt||dfS(sParses an editable requirement into: - a requirement name - an URL - extras - editable options Accepted requirements: svn+http://blahblah@rev#egg=Foobar[baz]&subdirectory=version_subdir .[some_extra] i(Ris^(.+)(\[[^\]]+\])$iissetup.pys;Directory %r is not installable. File 'setup.py' not found.sfile:Rys%s:s%s+%sRsb%s should either be a path to a local project or a VCS url beginning with svn+, git+, hg+, or bzr+sFor --editable=%s only s, s+URLs is currently supporteds@--editable=%s is not the right format; it must have #egg=PackageN(RjRiR5R3R4R6RFR7R~RRRRRRlRRRCRDR9R/RzRtbackendsRqRR( RoRpRiRrR9R8t url_no_extrast package_nametversion_controlRRRt error_message((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pyRkRs\ "   9(ct __future__RRRFR3RRRRJR R6t distutilsRtdistutils.utilRt email.parserRt pip._vendorRRtpip._vendor.distlib.markersRRHtpip._vendor.packagingRtpip._vendor.packaging.utilsRtpip._vendor.six.movesR t pip.wheelRt pip.compatR R R t pip.downloadR RRRtpip.exceptionsRRRt pip.locationsRRRRt pip.utilsRRRRRRRRR R!R"R#R$R%R&R'tpip.utils.hashesR(tpip.utils.deprecationR)R*tpip.utils.loggingR+tpip.utils.setuptools_buildR,t pip.utils.uiR-tpip.req.req_uninstallR.tpip.vcsR/R0R1tpip._vendor.packaging.versionR2t getLoggerRRt Specifiert _operatorstkeysRIR;tobjectR<RRR5Rk(((sK/usr/lib/python2.6/site-packages/pip-8.1.1-py2.6.egg/pip/req/req_install.pytsT          ""j