Files
PowerToys/PythonHome/Lib/site-packages/pip/req.pyc

366 lines
61 KiB
Plaintext
Raw Normal View History

2014-07-09 18:15:23 +08:00
<03>
<00>Sc@sGddlmZddlZddlZddlZddlZddlZddlZddlZddl Z ddl
Z
ddl m Z ddl mZmZmZmZmZddlmZmZmZmZmZmZmZddlmZddlmZddlm Z m!Z!m"Z"m#Z#m$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/m0Z0dd l1m2Z2m3Z3m4Z4m5Z5m6Z6m7Z7m8Z8m9Z9dd
l:m;Z;dd l m<Z<dd l=m>Z>m?Z?m@Z@mAZAmBZBmCZCmDZDmEZEmFZFmGZGmHZHddlIZJdd lImKZKmLZLmMZMddlNmOZOmPZPd<00>ZQdeRfd<00><00>YZSdeRfd<00><00>YZTdeRfd<00><00>YZUd<00>ZVejWdejX<00>ZYeZeZeZeZd<00>Z[d<00>Z\d<00>Z]d<00>Z^eZd<00>Z_deRfd<00><00>YZ`deRfd <00><00>YZad!eRfd"<00><00>YZbdS(#i<><69><EFBFBD><EFBFBD>(t
FeedParserN(t change_root(tbin_pytrunning_under_virtualenvtPIP_DELETE_MARKER_FILENAMEtwrite_delete_marker_filetbin_user(tInstallationErrortUninstallationErrortUnsupportedWheeltBestVersionAlreadyInstalledtInvalidWheelFilenametDistributionNotFoundtPreviousBuildDirError(tvcs(tlogger(t display_pathtrmtreetasktask_path_existst
backup_dirtis_installable_dirtis_localt dist_is_localtdist_in_usersitetdist_in_site_packagestrenamestnormalize_patht egg_link_pathtmake_path_relativetcall_subprocesst is_prereleasetnormalize_name(turlparseturllibt uses_pycachet ConfigParsert string_typest HTTPErrortget_python_versiontb(tLink(t build_prefix( t
PipSessiontget_file_contenttis_urlt url_to_patht path_to_urltis_archive_filetunpack_vcs_linkt
is_vcs_urlt is_file_urltunpack_file_urltunpack_http_url(tmove_wheel_filestWheelt wheel_ext(t pkg_resourcestsixcCs<>t|d<00><00>}|j<00>}WdQXdtjt<00>dg}x9|D]1}y|j|<00>}Wntk
rrqCnXPqCWt|<00>tks<>t <00>|S(sQReturn the contents of *filename*.
Try to decode the file contents with utf-8, the preffered system encoding
(e.g., cp1252 on some Windows machines) and latin1, in that order. Decoding
a byte string with latin1 will never raise an error. In the worst case, the
returned string will contain some garbage characters.
trbNsutf-8tlatin1(
topentreadtlocaletgetpreferredencodingtFalsetdecodetUnicodeDecodeErrorttypetbytestAssertionError(tfilenametfptdatat encodingstenc((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytread_text_file's   tInstallRequirementc
Bs<>eZd'ed'eed'd'eed<00> Zed'd'd<00><00>Zed'd'd<00><00>Zd<00>Z d<00>Z
ed<00>Z d<00>Z e d<00><00>Ze d<00><00>Ze d <00><00>Zed
<00>Zd Zd <00>Zd <00>Zd<00>Zd<00>Ze d<00><00>Zejd<00>Zd(d<00>Ze d<00><00>Ze d<00><00>Zd<00>Zed<00>Zed<00>Z d<00>Z!d<00>Z"d<00>Z#d<00>Z$d)d'd<00>Z%d<00>Z&d*d<00>Z'd<00>Z(d <00>Z)e d!<00><00>Z*e d"<00><00>Z+d#<00>Z,d$<00>Z-d'd%<00>Z.e d&<00><00>Z/RS(+c Csld|_t|t<00>r9tjj|<00>}|j|_n||_||_||_||_ | dkrri} n| |_ ||_ ||_ d|_d|_d|_d|_d|_||_d|_d|_t|_d|_|
|_| |_|r t|_n]|jdk r_tg|jjD]&} t| d<19>oM| ddk^q*<01>|_n t|_dS(Niis!=(( textrast
isinstanceR%R9t Requirementtparsetreqt
comes_fromt
source_dirteditabletNoneteditable_optionsturltas_eggt_egg_info_patht satisfied_bytconflicts_witht_temp_build_dirt
_is_bundletupdatetinstall_succeededt uninstalledRAt use_user_sitet
target_dirt from_bundlet pycompiletTruet prereleasestanytspecsR( tselfRRRSRTRURXRYR_RgRWRdRetx((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt__init__As<                       Ec Cs<>t||<00>\}}}|jd<00>r6t|<00>}nd}|||d|dtd|d|dt<00>}|dk r<>||_n|S(Nsfile:RTRURXRWRg(tparse_editablet
startswithR.RVRfRN( tclst editable_reqRSt default_vcstnameRXtextras_overrideRTtres((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt from_editableps   c Cs<>d }|j<00>}d }tjjtjj|<00><00>}d }t|<00>rWt|<00>}n<>tjj|<00>r<>tjj |ks<>|j
d<00>r<>t |<00>s<>t d|<16><00>ntt |<00><00>}nFt|<00>rtjj|<00>s<>tjd|<00>ntt |<00><00>}n|r<>|d kr<>|j}|j}|jdkrstjd|<00>rst tjjtjj|j<00><00><00>}n|jtkr<>t|j<00>}|j<00>s<>td|j<16><00>q<>q<>n|}|||d|d|<00>S(
s<>Creates an InstallRequirement from a name, which might be a
requirement, directory containing 'setup.py', filename, or URL.
t.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.RXRgN(RVtstriptostpathtnormpathtabspathR-R)tisdirtsepRnRRR/R0tisfileRtwarnturl_without_fragmentt egg_fragmenttschemetretsearchtextR8R7RGt supportedR ( RoRrRSRgRXRRRztlinktwheel((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt from_line<6E>s4  3    !* cCs<>|jr8t|j<00>}|jrA|d|j7}qAn |j}|jdk rm|dt|jj<00>7}n|jr<>t|jt <00>r<>|j}n|jj
<00>}|r<>|d|7}q<>n|S(Ns from %ss in %ss
(from %s)( RRtstrRXR[RVRtlocationRSROR%t from_path(RjtsRS((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt__str__<5F>s     cCsv|jdkrdSt|j<00>}|jrrt|jt<00>rI|j}n|jj<00>}|rr|d|7}qrn|S(Ns->(RRRVR<>RSROR%R<>(RjR<>RS((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<79><00>s  cCs<>|jdk r|jS|jdkrJtjdd<00>|_||_|jS|jre|jj<00>}n |j}t j
j |<00>s<>t |<00>nt j
j ||<00>S(Ns-buildspip-(R]RVRRttempfiletmkdtempt_ideal_build_dirRURrtlowerRyRztexistst_make_build_dirtjoin(Rjt build_dirtunpackRr((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytbuild_location<6F>s    cCs8|jdk rdS|jdk s(t<00>|js7t<00>|j}|j}|`|jrj|jj<00>}n |j}t j
j ||<00>}t j
j |<00>s<>t jd|<16>t|<00>nt j
j |<00>r<>tdt|<00><16><00>nt jd|t|<00>t|<00>f<16>tj||<00>||_||_d|_dS(skIf the build location was a temporary directory, this will move it
to a new more permanent locationNsCreating directory %ss<A package already exists in %s; please remove it to continues,Moving package %s from %s to new location %s(RTRVRRRFR]R<>RURrR<>RyRzR<>R<>RtdebugR<67>RRtshutiltmoveRZ(Rjt old_locationt new_build_dirRrt new_location((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytcorrect_build_location<6F>s0        cCs|jdkrdS|jjS(N(RRRVt project_name(Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyRr<00>scCs&|jdkrdStj|jj<00>S(N(RRRVR"tquotet unsafe_name(Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyturl_namescCs<>yddl}Wntk
r/td<00><00>nXd}|jrsd|jkrstjj|j|jd|<00>}ntjj|j|<00>}tj r<>t
|tj <00>r<>|j t j<00><00>}n|S(Ni<4E><69><EFBFBD><EFBFBD>sBsetuptools must be installed to install from a source distributionssetup.pyt subdirectory(t
setuptoolst ImportErrorRRWRyRzR<>RTR:tPY2ROt text_typetencodetsystgetfilesystemencoding(RjR<>t
setup_filetsetup_py((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<79>s  
 c Cs<>|jst<00>|jr8tjd|j|jf<16>ntjd|j|jf<16>tjd7_z>|jdkr<>tj j
tj j |jd<00><00> r<>t tj j |jd<00><00>n|j }|jdt|j<00><00>}|jdt|j<00><00>}tjd |d
g}|js|r&g}nFtj j |jd <00>}tj j|<00>s`tj|<00>nd d g}t||d |jd|jdtdtjdd<00>Wdtjd8_X|js<>tjjd|j<00><16>|_|j<00>ndS(Ns2Running setup.py (path:%s) egg_info for package %ss7Running setup.py (path:%s) egg_info for package from %sit
distributeR<65>sdistribute.egg-infot __SETUP_PY__t __PKG_NAME__s-ctegg_infos pip-egg-infos
--egg-basetcwdt filter_stdoutt show_stdoutt command_levelt command_descspython setup.py egg_infos%(Name)s==%(Version)s(RTRFRrRtnotifyR<79>RXtindentRyRzR}R<>Rt _run_setup_pytreplacetreprR<72>t
executableRUR<>tmakedirsRt_filter_installRAt VERBOSE_DEBUGRRR9RPRQtpkg_infoR<6F>(Rjtforce_root_egg_infotscriptt egg_info_cmdtegg_base_optiont egg_info_dir((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt run_egg_info!s8   4   
    s}
__file__ = __SETUP_PY__
from setuptools.command import egg_info
import pkg_resources
import os
import tokenize
def replacement_run(self):
self.mkpath(self.egg_info)
installer = self.distribution.fetch_build_egg
for ep in pkg_resources.iter_entry_points('egg_info.writers'):
# require=False is the change we're making:
writer = ep.load(require=False)
if writer:
writer(self, ep.name, os.path.join(self.egg_info,ep.name))
self.find_sources()
egg_info.egg_info.run = replacement_run
exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))
cCsy|jdk r5|jj|<00>s%dS|jj|<00>S|jsDt<00>|j|<00>}tjj |<00>sidSt
|<00>}|S(N( R[RVt has_metadatat get_metadataRTRFt egg_info_pathRyRzR<>RL(RjRGRI((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt egg_info_databs c Cs<|jdkr&|jr$|j}ntjj|jd<00>}tj|<00>}|jr<>g}xtj|<00>D] \}}}x-t j
D]"}||kr<>|j |<00>q<>q<>Wx<57>t |<00>D]<5D>}tjj tjj||dd<00><00>s
tjj tjj||dd<00><00>r|j |<00>n|dks2|dkr<>|j |<00>q<>q<>W|jg|D]}tjj||<00>^qS<01>qjWg|D]}|jd<00>r<>|^q<>}n|s<>td ||f<16><00>n|s<>td ||f<16><00>t|<00>d
kr|jd d <00><00>ntjj||d <19>|_ntjj|j|<00>S(Ns pip-egg-infotbintpythontScriptss
Python.exettestttestss .egg-infos$No files/directories in %s (from %s)itkeycSs8|jtjj<00>tjjr3|jtjj<00>p6dS(Ni(tcountRyRzR~taltsep(Rk((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt<lambda><3E>s i(RZRVRURTRyRzR<>tlistdirtwalkRtdirnamestremovetlistR<74>textendtendswithRRFtlentsort( RjRGtbaset filenamestroottdirstfilestdirtf((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<79>ns6    '' *+cCso|j|<00>}|sgSg}xI|j<00>D];}|j<00>}| s,|jd<00>rZq,n|j|<00>q,W|S(Nt#(R<>t
splitlinesRxRntappend(RjRGRItresulttline((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytegg_info_lines<65>s cCs^t<00>}|jd<00>}|sAtjdt|jd<00><00><16>n|j|pPd<00>|j<00>S(NsPKG-INFOsNo PKG-INFO file found in %st(RR<>RR<>RR<>tfeedtclose(RjtpRI((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<79><00>s  #cCs |jd<00>S(Nsdependency_links.txt(R<>(Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytdependency_links<6B>ss \[(.*?)\]ccs<>d}xx|jd<00>D]g}|jj|j<00><00>}|rO|jd<00>}qn|rx||krxtjd|<16>qn|VqWdS(Ns requires.txtisskipping extra %s(RVR<>t_requirements_section_retmatchR<68>tgroupRR<>(RjRNtin_extraR<61>R<>((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt requirements<74>sccs5x.|jjD] \}}|dkr |Vq q WdS(Ns==(RRRi(Rjt qualifiertversion((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytabsolute_versions<6E>s cCs|j<00>dS(NR<4E>(R<>(Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytinstalled_version<6F>scCsk|jst<00>|j}||jkrDtjd||jf<16>n#tjdt|j<00>||f<16>dS(Ns'Requested %s, but installing version %ss;Source in %s has version %s, which satisfies requirement %s(RTRFR<>RRRR<>R<>R(RjR<>((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytassert_source_matches_version<6F>s   cCs|js!tjd|j<16>dS|js0t<00>|js?t<00>|jjd<00>rUdSd|jkswtd|j<16><00>|js<>dS|jjdd<00>\}}t j
|<00>}|r<>||j<00>}|r<>|j |j<00>q|j |j<00>ndstd|j|f<16><00>dS(Ns>Cannot update repository at %s; repository location is unknownsfile:t+s bad url: %riis+Unexpected version control type (in %s): %s( RXRtinfoRTRURFRnR_tsplitRt get_backendtobtaintexport(RjR<>tvc_typeRXtbackendt vcs_backend((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytupdate_editable<6C>s( "  cCsp|j<00>s%td|jf<16><00>n|jp4|j}t|<00>}tjj|j |j
<00><00>d}tjj|j dj|j
<00>j d<00>d <20><00>d}|j dt jd<00>}|j
<00>d}t|<00>}tjj|<00>} tjj|<00>}
tjj|<00>} | s|
r^| r#|} n|} |j| <00>|jd <00>r<>x|jd <00>j<00>D]4} tjjtjj| | <00><00>}|j|<00>q[Wq<57>|jd
<00>r<>|jd <00>r<>|jd <00>}ng}x<>g|jd
<00>j<00>D]}|r<>||kr<>|^q<>D]M}tjj|j |<00>}|j|<00>|j|d <17>|j|d <17>qWq<57>n?|j j|<00>r<>|j|j <00>tjjtjj|j <00>d<00>}|j|d|<17>n<>|rjt|d<00>}tjj|j<00>j<00><00>}|j<00>||j ks&td||j|j f<16><00>|j|<00>tjjtjj|<00>d<00>}|j||j <00>n3| r<>x*tj j!|<00>D]}|j|<00>q<>Wn|jd<00>rA|j"d<00>rAx<>|j#d<00>D]o}t$|<00>r<>t%}nt&}|jtjj||<00><00>t'j(dkr<>|jtjj||<00>d<17>q<>q<>Wn|jd<00>rVt)j*<00>}|j+t,|j-d<00><00><00>|j.d<00>rVx<>|j/d<00>D]<5D>\}}t$|<00>r<>t%}nt&}|jtjj||<00><00>t'j(dkr<>|jtjj||<00>d<17>|jtjj||<00>d<17>|jtjj||<00>d<17>q<>q<>WqVn|j0|<00>||_1dS(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 installeds .egg-infot-is
.dist-infos-py%sR<73>s.eggsinstalled-files.txts top_level.txtsnamespace_packages.txts.pys.pycseasy-install.pths./trs;Egg-link %s does not match installed location of %s (at %s)tscriptstwin32s.batsentry_points.txttconsole_scriptss.exes .exe.manifests
-script.pyN(2tcheck_if_existsRRrR[R\tUninstallPathSetRyRzR<>R<>tegg_nameR<65>R<>R9tPY_MAJORRR<>taddR<64>R<>R<>R{R<>tdirnametadd_pthR=tnormcasetreadlineRxR<>RFtpipR<70>tuninstallation_pathstmetadata_isdirtmetadata_listdirRRRR<>tplatformR$tSafeConfigParsertreadfptFakeFiletget_metadata_linest has_sectiontitemsR<73>Ra(Rjt auto_confirmtdisttpaths_to_removetpip_egg_info_pathtdist_info_pathtdebian_egg_info_pathteasy_install_eggtdevelop_egg_linktpip_egg_info_existstdebian_egg_info_existstdist_info_existsR<73>tinstalled_fileRzt
namespacesR<73>t top_level_pkgteasy_install_pthtfht link_pointerR<72>tbin_dirtconfigRrtvalue((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt uninstall<6C>s<>  "    !"  
.    *     - cCs4|jr|jj<00>ntjd|jf<16>dS(Ns'Can't rollback %s, nothing uninstalled.(RatrollbackRterrorR<72>(Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytrollback_uninstallYs  cCs4|jr|jj<00>ntjd|jf<16>dS(Ns%Can't commit %s, nothing uninstalled.(RatcommitRR3R<>(Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytcommit_uninstall`s  cCs<>|jst<00>t}d|j|jf}tjj||<00>}tjj|<00>rt dt
|<00>d<00>}|dkr<>t }q|dkr<>t j dt
|<00><16>tj|<00>q|dkrt|<00>}t j dt
|<00>t
|<00>f<16>tj||<00>qn|r<>tj|dtj<00>}tjjtjj|j<00><00>}xtj|<00>D]<5D>\} }
} d|
kr~|
jd<00>nxl|
D]d} tjj| | <00>} |j| |<00>} tj|jd | d <17>}d|_|j|d <00>q<>Wxb| D]Z}|tkr q<>ntjj| |<00>}|j||<00>} |j||jd | <17>q<>WqSW|j<00>t jd 8_t j dt
|<00><16>ndS(Ns %s-%s.zips/The file %s exists. (i)gnore, (w)ipe, (b)ackup titwR(s Deleting %ssBacking up %s to %ss pip-egg-infot/i<>iR<>isSaved %s(R7R8R(i<00>(!RTRFRfRrR<>RyRzR<>R<>RRRARR<>R<>RR<>R<>tzipfiletZipFilet ZIP_DEFLATEDRR|R<>t_clean_zip_nametZipInfot external_attrtwritestrRtwriteR<65>R<>R<>(RjR<>tcreate_archivet archive_namet archive_pathtresponset dest_filetzipR<70>tdirpathR<68>R<>RRrtzipdirRG((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytarchivegsN      !     #
cCs_|j|tjj<17>s/td||f<16><00>|t|<00>d}|jtjjd<00>}|S(Ns$name %r doesn't start with prefix %riR9(RnRyRzR~RFR<>R<>(RjRrtprefix((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR=<00>s
cs<>|jr|j||<00>dS|jrttjj|j<00>}tjj||j<00>|j |jd<00><00>t
|_ dSt j dd<00>}tjj|d<00>}z<>tjg}|jd<00>|jd|j<16>|t|<00>dd|g7}|js|d g7}n<00>dk r |d
<00>g7}n|jr9|d g7}n |d g7}t<00>r<>|d tjjtjdddt<00><17>g7}ntjd|j<16>tjd7_z*t||d|jd|j dt!<00>Wdtjd8_Xtjj"|<00>stjd|<16>dSt
|_ |jrdS<>fd<00>}t#|<00>} xN| D]1}
|
j$<00>}
|
j%d<00>r@||
<00>} Pq@q@Wtj&d|<16>dS| j'<00>g} t#|<00>} x[| D]S}
|
j$<00>} tjj(| <00>r<>| tjj)7} n| jt*|| <00>| <00><00>q<>W| j'<00>t#tjj| d<00>d<00>} | j+dj| <00>d<17>| j'<00>Wdtjj"|<00>rvtj,|<00>ntj-|<00>XdS(NR<4E>s-recordspip-sinstall-record.txts-cs<63>import setuptools, tokenize;__file__=%r;exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))tinstalls--records#--single-version-externally-manageds--roots --compiles --no-compiles--install-headerstincludetsiteR<65>sRunning setup.py install for %siR<>R<>R<>sRecord file %s not foundcs4<00>dkstjj|<00> r#|St<00>|<00>SdS(N(RVRyRztisabsR(Rz(R<>(s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt prepend_root<6F>ss .egg-infos;Could not find .egg-info directory in install record for %ssinstalled-files.txtR8s
(.RUtinstall_editabletis_wheelRR<>t wheel_versionRTtcheck_compatibilityRrR6RfR`R<>R<>RyRzR<>R<>R<>R<>R<>R<>RYRVReRRKR'RR<>R<>RR<>RAR<>R=RxR<>R<>R<>R}R~RRAR<>trmdir(Rjtinstall_optionstglobal_optionsR<73>R<>t temp_locationtrecord_filenamet install_argsRPR<>R<>R<>t new_linesRG((R<>s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyRL<00>s<>                  
    
cCs<>|jstjj|j<00>rWtjd|j<16>|jrKt|j<00>nd|_n|j
r<>tjj|j
<00>r<>t|j
<00>nd|_
dS(sVRemove the source files from this requirement, if they are marked
for deletionsRemoving source in %sN( t is_bundleRyRzR<>tdelete_marker_filenameRR<>RTRRVR](Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytremove_temporary_source<63>s  cCs<>tjd|j<16>tjd7_zWttjdd|jgt|<00>ddgt|<00>d|j d|j
d t <00>Wdtjd8_Xt |_ dS(
NsRunning setup.py develop for %sis-cs<63>import setuptools, tokenize; __file__=%r; exec(compile(getattr(tokenize, 'open', open)(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))tdevelops --no-depsR<73>R<>R<>(RR<>RrR<>RR<>R<>R<>R<>RTR<>RARfR`(RjRVRW((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyRQ<00>s7 cCsatj}xKddddddddgD]+}tj||j<00><00>r(tj}Pq(q(W||fS( Ns ^running .*s ^writing .*s ^creating .*s^[Cc]opying .*s ^reading .*s4^removing .*\.egg-info' \(and everything under it\)$s^byte-compiling s7^warning: manifest_maker: standard file '-c' not found$(RtNOTIFYR<59>R<>RxtINFO(RjR<>tleveltregex((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<79> s   cCs|jdkrtSyJ|jjdkrG|jrG|jjdkrGtStj|j<00>|_Wn<57>tj k
rttStj
k
r<>tj|jj<00>}|j r<>t |<00>r<>||_q<>t <00>r<>t|<00>r<>td|j|jf<16><00>q<>q<>||_nXtS(s<>Find an installed distribution that satisfies or conflicts
with this requirement, and set self.satisfied_by or
self.conflicts_with appropriately.R<>R<>sVWill not install to the user site because it will lack sys.path precedence to %s in %sN(RRRVRAR<>R\RfR9tget_distributionR[R tVersionConflictRbRRRRR<>(Rjt existing_dist((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR s(     cCs|jod|jkS(Ns.whl(RX(Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyRR9scCsu|jdk r|jS|j}|s)tStjjtjj|d<00><00>phtjjtjj|d<00><00>|_|jS(Nspip-manifest.txtspyinstall-manifest.txt(R^RVR]RARyRzR<>R<>(RjR<>((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR\=s !$c
csGx|jD]<5D>}tjj|<00>}x<>tjD]<5D>}d}}tjj||j<00>}tjj |<00>r,|j
}t |<00>}|j <00>} |j <00>|<00>j| <00>\}}Pq,q,W|r<>d|||f}nd}t||dtd|dtd|dt<00>Vq
Wx=|jD]2}tjj|<00>}t||d|dt<00>Vq WdS(Ns%s+%s@%sRURXR_RTRd(t_bundle_editable_dirsRyRztbasenameRtbackendsRVR<>t bundle_fileR<65>RrR=R>R<>tparse_vcs_bundle_fileRMRfRAt_bundle_build_dirs(
Rjtdest_dirtpackageRRXtrevtvcs_bundle_fileRRHtcontent((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytbundle_requirementsIs,
    
c Cs<>|j}|st<00>tjj|d<00>}tjj|d<00>}g}g}x#|||f|||fgD]\}} }
tjj|<00>rjx<>tj|<00>D]<5D>} tjj| | <00>} |
j| <00>tjj| <00>r<>tj d| | |f<16>q<>ntjj| <00>s(tj
d| <16>tj | <00>nt j tjj|| <00>| <00>q<>Wtj|<00>smtj|<00>qmqjqjWd|_||_||_dS(NtsrctbuildsZThe directory %s (containing package %s) already exists; cannot move source from bundle %ssCreating directory %s(R]RFRyRzR<>R<>R<>R<>RR<>R<>R<>R<>R<>RURVRlRg( Rjtdest_build_dirt dest_src_dirR<72>tsrc_dirR<72>tbundle_build_dirstbundle_editable_dirsRTRmtdir_collectionRtdest((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytmove_bundle_filescs4     #  c Cs;t|j|j|d|jd|jd|d|j<00>dS(NtuserthomeR<65>Re(R6RrRRRbRcRe(RjtwheeldirR<72>((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR6s   cCs%|jst<00>tjj|jt<00>S(N(RTRFRyRzR<>R(Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR]<00>sN((((0t__name__t
__module__RVRARfRlt classmethodRuR<>R<>R<>R<>R<>tpropertyRrR<>R<>R<>R<>R<>R<>R<>R<>R<>R<>tcompileR<65>R<>R<>R<>R<>RR1R4R6RJR=RLR^RQR<>R RRR\RrR|R6R](((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyRM?sV -*    ? *    n   ) Y  !   t RequirementscBsGeZd<00>Zd<00>Zd<00>Zd<00>Zd<00>Zd<00>Zd<00>ZRS(cCsg|_i|_dS(N(t_keyst_dict(Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyRl<00>s cCs|jS(N(R<>(Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytkeys<79>scCs!g|jD]}|j|^q
S(N(R<>R<>(RjR<>((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytvalues<65>scCs ||jkS(N(R<>(Rjtitem((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt __contains__<5F>scCs3||jkr"|jj|<00>n||j|<dS(N(R<>R<>R<>(RjR<>R0((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt __setitem__<5F>scCs |j|S(N(R<>(RjR<>((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt __getitem__<5F>scCsJg|j<00>D]&}dt|<00>t||<19>f^q }ddj|<00>S(Ns%s: %ssRequirements({%s})s, (R<>R<>R<>(RjtkR<6B>((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt__repr__<5F>s9( R<>R<>RlR<>R<>R<>R<>R<>R<>(((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<79><00>s      tRequirementSetc BseZdeeedeeededd<00> Zd<00>Zd<00>Zd<00>Ze d<00><00>Z
e d<00><00>Z e d<00><00>Z d<00>Z ed<00>Zd <00>Zeed
<00>Zed <00>Zd <00>Zd <00>Zded<00>Zdd<00>Zd<00>ZdZd<00>Zd<00>ZRS(cCs<>||_||_||_|r6tjj|<00>}n||_||_||_|
|_ t
<00>|_ i|_ g|_ | |_g|_g|_g|_||_| |_||_| p<>t<00>|_| |_||_dS(N(R<>Rwt download_dirRyRzt
expandusertdownload_cachetupgradetignore_installedtforce_reinstallR<6C>R<>trequirement_aliasestunnamed_requirementstignore_dependenciestsuccessfully_downloadedtsuccessfully_installedtreqs_to_cleanupRYRbRcR+tsessionRetwheel_download_dir(RjR<>RwR<>R<>R<>R<>RYRcR<>R<>RbR<>ReR<>((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyRl<00>s,                  cCsgg|jj<00>D]}|js|^q}|jdd<00><00>djg|D]}t|j<00>^qK<00>S(NR<4E>cSs |jj<00>S(N(RrR<>(RR((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<79><00>st (R<>R<>RSR<>R<>R<>RR(RjRRtreqs((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<79><00>scCs<>|j}|j|_|j|_|j|_|j|_|sR|jj|<00>ni|j|<00>r<>td||j |<00>|f<16><00>n||j
|<|j <00>|kr<>||j |j <00><ndS(Ns5Double requirement given: %s (already in %s, name=%r)( RrRYRbRcReR<>R<>thas_requirementRtget_requirementR<74>R<>R<>(Rjt install_reqRr((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytadd_requirement<6E>s      cCsCx<||j<00>fD](}||jks7||jkrtSqWtS(N(R<>R<>R<>RfRA(RjR<>Rr((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<79><00>scCst|jj<00><00>p|jS(N(R<>R<>R<>R<>(Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pythas_requirements<74>scCsDtd<00>|jj<00>D<><00>r#tStd<00>|jD<><00>r@tStS(Ncss|]}|jVqdS(N(RU(t.0RR((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pys <genexpr><3E>scss|]}|jVqdS(N(RU(R<>RR((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pys <genexpr><3E>s(RhR<>R<>RfR<>RA(Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt has_editables<65>s
cCsg|jrctjj|j<00>|_tjj|j<00>r:tStjd<00>tdt |j<00><16><00>nt
S(Ns!Could not find download directorys0Could not find or access download directory '%s'( R<>RyRzR<>R<>RfRtfatalRRRA(Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt is_download<61>s  cCslxU||j<00>fD]A}||jkr3|j|S||jkr|j|j|SqWtd|<16><00>dS(NsNo project with the name %r(R<>R<>R<>tKeyError(RjR<>Rr((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<79>s  cCs8x1|jj<00>D] }|jd|<00>|j<00>qWdS(NR(R<>R<>R1R6(RjRRR((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR1 scCs<>t|j<00>}t|jj<00><00>}xc|s3|r<>|rK|jd<00>}n|jd<00>}t}|j r<>|j r<>|j<00>|j r<>|j
r<>|j o<>t |j <00> s<>|j |_ nd|_ q<>t}n|j r<>tjd|<16>q<>n|jr |jdkrE|j|j<00>|_qEn%|rE|j|j|j <0C>|_n|jdk r'tjj|j<00> r'td||jf<16><00>q'q'WdS(Nis<Requirement already satisfied (use --upgrade to upgrade): %ss<73>Could not install requirement %s because source folder %s does not exist (perhaps --no-download was used without first running an equivalent install with --no-install?)(R<>R<>R<>R<>tpopRfR<>RUR R[R<>RbRR\RVRARR<>RTR<>RwR<>R<>RyRzR}R(RjtunnamedR<64>treq_to_installtinstall_needed((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt locate_filess4
       %cCs<>t|j<00>}t|jj<00><00>}xk|s3|r<>|rK|jd<00>}n|jd<00>}t}t}d} |j r<>|j r<>|j
<00>|j r^|j rU|j r|j ry|j||j <00>}
Wn=tk
r<>t}t}qtk
rtj<00>d} qX|
j|_n|s[|jo4t|j <00> sF|j |_nd|_ q[q^t}n|j r<>|r<>tjd|<16>q<>tjd|<16>q<>n|j r<>tjd|<16>n^|r|jr<>|jj<00>jd<00>r<>tjdtt|j<00><00><16>qtjd|<16>ntjd 7_zYt} t} |j r<>|jdkrg|j|j <00>} | |_n |j} t!j"j#|j$<00>s<>t%|j$<00>n|j&|j' <0C>|j'r<>|j(<00>|j)|j*<00>q|j(<00>nD|r|j|j$|j' <0C>} t}d}
|j+rnEt!j"j#t!j"j,| d
<00><00>rSt-t.j/d || f<16><00><00>n|jdkr<>| rq| <00>n|j|d |j <00>}
nt0|j<00>}
|
s<>t1<00>|
rOyY|
j2j3t4<00>r<>|j5r<>|j5}t}n|j*}|j'}|j6|
| ||<00>WqUt7k
rK}tj8d ||f<16>t9d|||
f<16><00>qUXnt}|r|j:} |
oy|
j2j3t4<00>} | r<>|j;|j$|j <00>x<>|j<<00>D] }|j=|<00>|j>|<00>q<>Wn<57>|j'r| |_| s<>|j(<00>n|
r<>|
j?t@jAkr<>|j)|j*<00>q<>ny| r=| |_|
j|_n[| |_|j(<00>|ri|j(dt<00>n|jB<00>|r<>|jr<>|jC|<00>t}n|js<>|j
<00>n|j r|j s<>|jr<>|jo<>t|j <00> s<>|j |_nd|_ qtjd|<16>t}qqn| r<>ttDjE| <00><00>d}|jFsd|jG<00>|_F|j>|<00>n|jHs<>xd|jI|jJ<00>D]M}|jK|jL<00>r<>q<>ntMtN|<00>|<00>}|j=|<00>|j>|<00>q<>Wq<57>n%| s<>|jO|jP<00>|jJrtjddj,|jJ<00><16>n|jHs<>x<>|j|jJ<00>D]<5D>}ytDjQjR|<00>jL}Wn>tSk
r<>tj<00>d}tjTd|||f<16>q2nX|jK|<00>r<>q2ntM||<00>}|j=|<00>|j>|<00>q2Wn|jK|jU<00>s<>|j>|<00>q<>n| s0|j's|jVdk r0|jWj=|<00>q0n|rz|jXj=|<00>|rz|jrz|jjd<00>rz|jC|<00>qznWdtjd 8_Xq'WdS(sGPrepare process. Create temp directories, download and/or unpack files.iis"Requirement already up-to-date: %ss<Requirement already satisfied (use --upgrade to upgrade): %ss Obtaining %ssfile:s Unpacking %ssDownloading/unpacking %sissetup.pys<79>
pip can't proceed with requirement '%s' due to a pre-existing build directory.
location: %s
This is likely due to a previous installation that failed.
pip is being responsible and not assuming it can delete this.
Please delete it and try again.
R<>s4Could not install requirement %s because of error %ssDCould not install requirement %s because of HTTP error %s for URL %sR<73>s!Installing extra requirements: %rt,s.Invalid requirement: %r (%s) in requirement %ssfile:///N(YR<>R<>R<>R<>R<>RfRARVR<>RUR R[R<>R<>RXtfind_requirementR
R R<>texc_infoRbRR\RR<>R<>RnRR.R<>RTR<>RwRyRzR<>R<>R<>RR<>R<>RJR<>RdR<>R ttextwraptdedentR)RFRGR<>R8R<>t
unpack_urlR&R<>RR\R|RrR<>R<>R<>Rt all_schemesR<73>tcopy_to_build_dirR9tfind_distributionsRRtas_requirementR<74>trequiresRNR<>R<>RMR<>tadd_dependency_linksR<73>RPRQt
ValueErrorR3RrR]R<>R<>(RjtfinderR<72>tbundleR<65>R<>R<>RLtbest_installedt not_foundRXR\RRR<>R<>R<>t do_downloadtexctetsubreqRRRRr((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt prepare_files5sV
           !#    
  !                 

                   !cCs<>tjd<00>tjd7_x|jD]}|j<00>q&Wg}|j<00>r_|j|j<00>n|rx|j|j<00>nx>|D]6}t j
j |<00>rtj d|<16>t |<00>qqWtjd8_dS(sClean up files, remove builds.sCleaning up...isRemoving temporary dir %s...N(RR<>R<>R<>R^t_pip_has_created_build_dirR<72>R<>RwRyRzR<>R<>R(RjR<>RRt
remove_dirR<72>((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt cleanup_files"s   cCs1|jtko0tjjtjj|jt<00><00>S(N(R<>R*RyRzR<>R<>R(Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<79>9scCs<>|jr|jp|j}tjd|j|f<16>tjj||j<00>}t j
|j |<00>t dd|dgd|dd<00>dS(NsCopying %s to %sR<73>s %s/setup.pytcleanR<6E>R<>spython setup.py clean( RURwR<>RR<>RrRyRzR<>R<>tcopytreeRTR(RjR<>RcR{((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<79>=s cCs<>|dkr|j}nt|<00>rL|r3|}n|}t|||<00>nat|<00>r~t|||<00>|r<>t|<00>q<>n/t|||j||j <00>|r<>t|<00>ndS(N(
RVR<>R2R1R3R4RR5R<>R<>(RjR<>R<>R<>t only_downloadtloc((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<79>Es&     
c Os2g|jj<00>D]}|js|^q}tjjd<00>}xI|D]A}|jdkrD|j|krD|j|<00>|j |<00>qDqDW|r<>t
j ddj g|D]}|j^q<><00><16>nt
j d7_ zAx:|D]2} | jdkrGy=tjjd<00>}
tjd<00>} | |
kr,| | _nWqGtjk
rCqGXn| jr<>t
j d| j<16>t
j d7_ z| jd t<00>Wd
t
j d8_ Xny| j||||<00>Wn*| jr<>| j r<>| j<00>n<00>n X| jr| jr| j<00>n| j<00>q<>WWd
t
j d8_ X||_d
S( sRInstall everything in this set (after having downloaded and unpacked the packages)sdistribute>=0.7R<EFBFBD>s!Installing collected packages: %ss, iR<>sdistribute<0.7sFound existing installation: %sRN(R<>R<>R[R9RPRQRrR<>R<>R<>RR<>R<>R<>RdR\R R1RfRLR`R4R6R^R<>( RjRVRWtargstkwargsRt
to_installtdistribute_reqRRt requirementtdistribute_requirementtexisting_distribute((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyRLdsL  3       cCs<>tj|dtj<00>}g}xJ|jdf|jdffD]*\}}tjjtjj|<00><00>}x<>tj |<00>D]<5D>\}}}x<>t
j D]<5D>} | <00>}
d} } |
j |kr<>xR|D]} |j| <00>r<>Pq<50>q<>W|
jtjj||<00><00>\} } |j|<00>|
j}|
ji| d6| d6}|j|
j <00>Pq<50>q<>Wd|kre|jd<00>nxQ|D]I}tjj||<00>}|j||<00>}|j|d|dd<00>qlWx_|D]W}|tkr<>q<>ntjj||<00>}|j||<00>}|j||d|<17>q<>W| rwtjj||<00>}|j||<00>}|j|d||<00>qwqwWq=W|jd |j<00><00>|j<00>dS(
NR8RtRsRXRos pip-egg-infoR9R<>spip-manifest.txt(R:R;R<R<>RwRyRzRR|R<>RRiRVRRntget_infoR<6F>R<>RjtguideR<65>R=R@RRARrR<>(Rjtbundle_filenameRGtvcs_dirsR<73>RhRHR<>R<>RRtvcs_urltvcs_revtvcs_dirRpt vcs_guideRRrRG((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt create_bundle<6C>sL+ 
         #s<># This is a pip bundle file, that contains many source packages
# that can be installed as a group. You can install this like:
# pip this_file.zip
# The rest of the file contains a list of all the packages included:
cCs<>|jg}xPg|jj<00>D]}|js|^qD]#}|jd|j|jf<16>q8W|jd<00>xPg|jj<00>D]}|jr|^qD]#}|jd|j|jf<16>q<>Wdj|<00>S(Ns%s==%s
sC# These packages were installed to satisfy the above requirements:
R<EFBFBD>(t BUNDLE_HEADERR<52>R<>RSR<>RrR<>R<>(RjtpartsRR((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyRr<00>s ! !cCs_|j|tjj<17>s/td||f<16><00>|t|<00>d}|jtjjd<00>}|S(Ns$name %r doesn't start with prefix %riR9(RnRyRzR~RFR<>R<>(RjRrRK((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR=<00>s
N((R<>R<>RVRARfRlR<>R<>R<>R<>R<>R<>R<>R<>R1R<>R<>R<>R<>R<>R<>RLR<>R<>RrR=(((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<79><00>s2        '<0F>     E 7 cCstj|<00>t|<00>dS(N(RyR<>R(R<>((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<79><00>s s^(http|https|file):c
cs<>|dkrt<00>}nd}|r-|jnd}|rKtj|<00>}ntjjtjj|<00><00>}t |d|d|<00>\}}x2t
|j <00><00>D]\} }
| d7} |
j <00>}
tj dd|
<00>}
|
s<>|
jd<00>r<>q<>n|r|j|
<00>rq<>n|
jd<00>s&|
jd<00>r<>|
jd<00>rH|
d j <00>} n|
td<00>j <00>j d
<00>} tj|<00>r<>tj|| <00>} n3tj| <00>s<>tjjtjj|<00>| <00>} nx<>t| |d|d |d|<00>D] } | Vq<>Wq<57>|
jd <00>s<>|
jd <00>rq<>|
jd<00>s1|
jd<00>r<>|
jd<00>rS|
d j <00>}
n|
td<00>j <00>jd
<00>}
tjj||
<00>} tjj| <00>r<>| }
n|r<>|jj|
<00>q<>q<>|
jd<00>s<>|
jd<00>r5|
jd<00>r<>|
d j <00>}
n|
td<00>j <00>jd
<00>}
|r<>|
g|_q<>q<>|
jd<00>r|
td<00>j <00>jd
<00>}
|r<>|jj|
<00>q<>q<>|
jd<00>r<>t|_q<>|
jd<00>r<>g|_q<>|
jd<00>r
|
td<00>j <00>jd
<00>}
|jtt|
<00>j <00>g<00>O_q<>|
jd<00>r%t|_!q<>|
jd<00>r7q<>|
jd<00>rIq<>|
jd<00>r<>|
td<00>j <00>jd
<00>}
|j"tt|
<00>j <00>g<00>O_"q<>|
jd<00>r<>|
td<00>j <00>jd
<00>}
|j"tt|
<00>j <00>g<00>O_"q<>d|| f}|
jd<00>s!|
jd<00>r<>|
jd<00>rC|
d j <00>}
n|
td<00>j <00>jd
<00>}
t#j$|
d|d|r<>|j%nd<00>}n$t#j&|
|dt'|d d<00><00>}|Vq<>WdS(!NRSR<>is
(^|\s)#.*$R<>R<>s-rs --requirementit=toptionss-Zs--always-unzips-fs --find-linkss-is --index-urls--extra-index-urls --use-wheels
--no-indexs--allow-externals--allow-all-externals--no-allow-externals--no-allow-insecures--allow-insecures--allow-unverifieds-r %s (line %s)s-es
--editableRqRgtpre((RVR+tskip_requirements_regexR<78>R<>RyRzRR|R,t enumerateR<65>RxtsubRnR<>R<>t
_scheme_reR!turljoinR<6E>tparse_requirementstlstripR<70>t
find_linksR<73>t
index_urlsRft use_wheeltallow_externaltsetR R<>tallow_all_externaltallow_unverifiedRMRuRqR<>tgetattr(RGR<>RSR<>R<>t
skip_matcht
skip_regext reqs_file_dirRqt line_numberR<72>treq_urlR<6C>trelative_to_reqs_fileRR((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<79><00>s<>   
 $(    ' '''$cCs.tjd|<00>}|r*|jd<00>}n|S(s2
Strip req postfix ( -dev, 0.2, etc )
s^(.*?)(?:-dev|-\d.*)$i(R<>R<>R<>(RRR<>((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt_strip_postfixbscCs|g|jdd<00>djd<00>D]}|r |^q }d}|dd kr[|d
}n|d d krx|d}n|S(NR<4E>iiR9i<><69><EFBFBD><EFBFBD>ttagstbranchesttagtbranchi<68><69><EFBFBD><EFBFBD>i<EFBFBD><69><EFBFBD><EFBFBD>ttrunk(stagssbranchesstagsbranch(R<>RV(RXR<>R<>RR((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt_build_req_from_urlms8  cCs{tjd<00>}|j|<00>}|rwt<00>}xC|D];}|\}}||kretd|<16><00>n|||<q4W|SdS(sz
This method generates a dictionary of the query string
parameters contained in a given editable URL.
s([\?#&](?P<name>[^&=]+)=(?P<value>[^&=]+)s%s option already definedN(R<>R<>tfindalltdictt ExceptionRV(RRtregexptmatchedtrettoptionRrR0((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt_build_editable_optionsxs    cCsy|}d}tjd|<00>}|rE|jd<00>}|jd<00>}n|}tjj|<00>r<>tjjtjj|d<00><00>s<>t d|<16><00>nt
|<00>}n|j <00>j d<00>r<>|r<>d|t jjd|<17>jfSd|dfSnx;tD]3}|j <00>j d|<16>r<>d ||f}Pq<50>q<>Wd
|kr_|rL|d
|}q_t d |<16><00>n|jd
d<00>d j <00>}tj|<00>s<>d |djgtjD]}|jd^q<><01>d} t | <00><00>nyt|<00>}
Wn7tk
rtj<00>d} t d|| f<16><00>nX|
s.d|
krVt|<00>} | s`t d|<16><00>q`n
|
d} t| <00>} | ||
fS(sSParses svn+http://blahblah@rev#egg=Foobar into a requirement
(Foobar) and a URLs^(.+)(\[[^\]]+\])$iissetup.pys;Directory %r is not installable. File 'setup.py' not found.sfile:t__placeholder__s%s:s%s+%sR<73>sb%s should either be a path to a local project or a VCS url beginning with svn+, git+, hg+, or bzr+isFor --editable=%s only s, s+URLs is currently supporteds*--editable=%s error in editable options:%steggs@--editable=%s is not the right format; it must have #egg=PackageN(RVR<>R<>R<>RyRzR}R<>R<>RR/R<>RnR9RPRQRNRR<>R<>RiRrRRR<>R<>R<>R<>(RpRqRXRNtmt url_no_extrastversion_controlRRt error_messageR<65>tmessageRRRn((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyRm<00>sT!   1  
 R
cBskeZdZd<00>Zd<00>Zd<00>Zd<00>Zd<00>Zd<00>Zd<00>Z e
d<00>Z d <00>Z d
<00>Z RS( sMA set of file paths to be removed in the uninstallation of a
requirement.cCs@t<00>|_t<00>|_i|_||_d|_g|_dS(N(R<>tpathst_refusetpthRRVtsave_dirt _moved_paths(RjR((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyRl<00>s      cCs
t|<00>S(ss
Return True if the given path is one we are permitted to
remove/modify, False otherwise.
(R(RjRz((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt
_permitted<65>scCsFt|j<00>sBtjd|jjt|jj<00>tjf<16>t St
S(Ns1Not uninstalling %s at %s, outside environment %s( RRRR<>R<>RR<>R<>RKRARf(Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt_can_uninstall<6C>s
 &cCs<>t|<00>}tjj|<00>s"dS|j|<00>rD|jj|<00>n|jj|<00>tjj|<00>ddkr<>t r<>|jt
j |<00><00>ndS(Nis.py( RRyRzR<>RR R RtsplitextR#timptcache_from_source(RjRz((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR <00>s "cCskt|<00>}|j|<00>rW||jkr@t|<00>|j|<n|j|j|<00>n|jj|<00>dS(N(RRRtUninstallPthEntriesR R(Rjtpth_filetentry((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<00>s  cCs<>t<00>}x}t|dt<00>D]i}tg|D]@}|j|<00>oi|t|jtjj<00><00>tjjk^q,<00>s|j |<00>qqW|S(s<>Compact a path set to contain the minimal number of paths
necessary to contain all paths in the set. If /a/path/ and
/a/path/to/a/file.txt are both in the set, leave only the
shorter path.R<>(
R<>tsortedR<64>RhRntrstripRyRzR~R (RjR t short_pathsRzt shortpath((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pytcompact<63>s  McCs5tjj|jtjj|<00>djtjj<00><00>S(Ni(RyRzR<>Rt
splitdriveR<65>R~(RjRz((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt_stash s cCs<>|j<00>sdS|js4tjd|jj<16>dStjd|jj<16>tjd7_t|j|j<00><00>}z6|r<>d}n-x|D]}tj|<00>q<>Wt dd<00>}|j
r<>tjd<00>x*|j|j
<00>D]}tj|<00>q<>Wn|dkr<>t j d d
d d <00>|_ xK|D]C}|j|<00>}tjd |<16>|jj|<00>t||<00>q"Wx!|jj<00>D]}|j<00>qyWtjd|jj<16>nWdtjd8_XdS(s[Remove paths in ``self.paths`` with confirmation (unless
``auto_confirm`` is True).Ns7Can't uninstall '%s'. No files were found to uninstall.sUninstalling %s:itysProceed (y/n)? tns.Not removing or modifying (outside of prefix):tsuffixs
-uninstallRKspip-sRemoving file or directory %ssSuccessfully uninstalled %s(R!R"(RR RR<>RR<>R<>RRRRR<>R<>RR R<>RR<>RRR<>R<>(RjRR RERztnew_pathR((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<79>s<         cCs<>|jdkr*tjd|jj<16>tStjd|jj<16>x>|jD]3}|j |<00>}tj
d|<16>t ||<00>qKWx|j D]}|j <00>q<>WdS(s1Rollback the changes previously made by remove().s'Can't roll back %s; was not uninstalledsRolling back uninstall of %ss Replacing %sN(RRVRR3RR<>RAR<>RR R<>RRR2(RjRzttmp_pathR((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR24scCs5|jdk r1t|j<00>d|_g|_ndS(s?Remove temporary save dir: rollback will no longer be possible.N(RRVRR(Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR5As  (R<>R<>t__doc__RlRRR RRR RAR<>R2R5(((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR
<00>s      % RcBs,eZd<00>Zd<00>Zd<00>Zd<00>ZRS(cCsGtjj|<00>s%td|<16><00>n||_t<00>|_d|_dS(Ns.Cannot remove entries from nonexistent file %s( RyRzRRRwR<>tentriesRVt _saved_lines(RjR((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyRlJs
  cCsatjj|<00>}tjdkrMtjj|<00>d rM|jdd<00>}n|jj|<00>dS(NRis\R9( RyRzRR<>RRR<>R'R (RjR((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR Qs&cCs<>tjd|j<16>t|jd<00>}|j<00>}||_|j<00>td<00>|D<><00>rdd}nd}xQ|jD]F}y,tjd|<16>|j t
||<17><00>Wqtt k
r<>qtXqtWt|jd<00>}|j |<00>|j<00>dS(NsRemoving pth entries from %s:R;css!|]}td<00>|kVqdS(s
N(R((R<>R<>((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pys <genexpr>bss
s
sRemoving entry: %stwb( RR<>RwR=t readlinesR(R<>RhR'R<>R(R<>t
writelines(RjR,tlinestendlineR((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<79>[s"  
   cCsk|jdkr'tjd|j<16>tStjd|j<16>t|jd<00>}|j|j<00>|j <00>t
S(Ns.Cannot roll back changes to %s, none were mades!Rolling %s back to previous stateR)( R(RVRR3RwRAR<>R=R+R<>Rf(RjR,((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR2ps
(R<>R<>RlR R<>R2(((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyRIs 
RcBs)eZdZd<00>Zd<00>Zd<00>ZRS(sQWrap a list of lines in an object with readline() to make
ConfigParser happy.cCsd<00>|D<>|_dS(Ncss|] }|VqdS(N((R<>tl((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pys <genexpr>s(t_gen(RjR,((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyRl~scCsLy3yt|j<00>SWntk
r1|jj<00>SXWntk
rGdSXdS(NR<4E>(tnextR/t NameErrort StopIteration(Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR<00>s  cCs|jS(N(R/(Rj((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt__iter__<5F>s(R<>R<>R&RlRR3(((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyR{s  (ct email.parserRRyRR?R<>R<>R<>R<>R<>R:tdistutils.utilRt pip.locationsRRRRRtpip.exceptionsRRR R
R R R tpip.vcsRtpip.logRtpip.utilRRRRRRRRRRRRRRRRR tpip.backwardcompatR!R"R#R$R%R&R'R(t pip.indexR)R*t pip.downloadR+R,R-R.R/R0R1R2R3R4R5t pip.wheelRR6R7R8t pip._vendorR9R:RLtobjectRMR<>R<>R<>R<>tIR<49>RVR<>R<>R<>RRmR
RR(((s>c:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\req.pyt<module>sT         (4p:L  <16><00><00>R<16><00>N   c  A|2