/opt/alt/python33/lib/python3.3/site-packages/pip
NameSizeModeActions
backwardcompat/-0755rm
commands/-0755rm
vcs/-0755rm
_vendor/-0755rm
__pycache__/-0755rm
basecommand.py65780644editdlrm
basecommand.pyc63710644editdlrm
basecommand.pyo63710644editdlrm
baseparser.py81620644editdlrm
baseparser.pyc101840644editdlrm
baseparser.pyo101460644editdlrm
cmdoptions.py93300644editdlrm
cmdoptions.pyc80270644editdlrm
cmdoptions.pyo80270644editdlrm
download.py225800644editdlrm
download.pyc208790644editdlrm
download.pyo207640644editdlrm
exceptions.py10860644editdlrm
exceptions.pyc30950644editdlrm
exceptions.pyo30950644editdlrm
index.py404030644editdlrm
index.pyc341080644editdlrm
index.pyo340310644editdlrm
locations.py62020644editdlrm
locations.pyc55960644editdlrm
locations.pyo55960644editdlrm
log.py94550644editdlrm
log.pyc100550644editdlrm
log.pyo98650644editdlrm
pep425tags.py29690644editdlrm
pep425tags.pyc32490644editdlrm
pep425tags.pyo32490644editdlrm
req.py837530644editdlrm
req.pyc625320644editdlrm
req.pyo617070644editdlrm
runner.py4310644editdlrm
runner.pyc6290644editdlrm
runner.pyo6290644editdlrm
status_codes.py1160644editdlrm
status_codes.pyc3430644editdlrm
status_codes.pyo3430644editdlrm
util.py251240644editdlrm
util.pyc278340644editdlrm
util.pyo278340644editdlrm
wheel.py208000644editdlrm
wheel.pyc189130644editdlrm
wheel.pyo187720644editdlrm
__init__.py94280644editdlrm
__init__.pyc91490644editdlrm
__init__.pyo90690644editdlrm
__main__.py1160644editdlrm
__main__.pyc3180644editdlrm
__main__.pyo3180644editdlrm
Edit: /opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pyo (18772B)
Rec@s7dZddklZddkZddkZddkZddkZddkZddkZddk Z ddk Z ddk l Z ddk lZddklZlZddklZlZddklZdd klZdd klZdd klZlZlZdd kl Z dd k!l"Z"dd kl Z dZ#d$Z$dd%dZ%ye&dZ'Wne(j odZ'nXdZ)dZ*ei+dei,Z-dZ.dZ/e0dde2dddZ3dZ4e4dZ5dZ6dZ7d e8fd!YZ9d"e8fd#YZ:dS(&sH Support for installing and building the "wheel" binary package format. i(twith_statementN(turlsafe_b64encode(tParser(t ConfigParsertStringIO(tInvalidWheelFilenametUnsupportedWheel(tdistutils_scheme(tlogger(t pep425tags(tcall_subprocesstnormalize_pathtmake_path_relative(t pkg_resources(t ScriptMakers.whliitsha256ic Csti|}d}t|dii}zW|~}|i|}x8|o0|t|7}|i||i|}qMWWdQXdt|i i di d}||fS(s6Return (hash, length) for path using hashlib.new(algo)itrbNssha256=tlatin1t=( thashlibtnewtopent__exit__t __enter__treadtlentupdateRtdigesttdecodetrstrip( tpathtalgot blocksizethtlengtht_[1]tftblockR((s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pytrehash"s& (cCs"t|to|idS|S(Ntascii(t isinstancetunicodetencode(ts((s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pytbinary1scCs"t|to|idSdS(NR'(R(tstrR*(R+((s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pyR,6scCsKtiddjoh}d}nhdd6}d}t||||S(Niitbttnewline(tsyst version_infoR(tnametmodetnltbin((s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pyt open_for_csv:s   cCstii|ot|d}zl|i}|itdptSti i ti }td|tti }|i }Wd|iXt|d}z|i||i|Wd|iXtSdS(sLReplace #!python with #!/path/to/python Return True if file was changed.Rs#!pythons#!Ntwb(tosRtisfileRtreadlinet startswithR,tFalseR1t executableR*tgetfilesystemencodingtlinesepRtclosetwritetTrue(Rtscriptt firstlinetexenametrest((s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pyt fix_scriptCs     sZ^(?P(?P.+?)(-(?P\d.+?))?) \.dist-info$cCs|idd}xti|D]}ti|}|o|id|jotttii||di i }zB|~}x2|D]*}|i i }|djot SqWWdQXq"q"WtS(sP Return True if the extracted wheel in wheeldir should go into purelib. t-t_R3tWHEELsroot-is-purelib: trueN(treplaceR9tlistdirt dist_info_retmatchtgroupRRtjoinRRtlowerRRCR=(R3twheeldirt name_foldedtitemROR#twheeltline((s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pytroot_is_purelib]s5 cCstii|p hhfSt|ii}zT|~}t}x.|D]&}|i|i|idqQW|i dWdQXt i }|i |h}h}|i dot|id}n|i dot|id}n||fS(Ns itconsole_scriptst gui_scripts(R9RtexistsRRRRRBtstriptseekRtRawConfigParsertreadfpt has_sectiontdicttitems(tfilenameR#tfptdataRWtcptconsoletgui((s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pytget_entrypointsms$ #   c +&s|p"t|d|d|d|}nt|o|dn |dgg itiitii} htg} |oti| dt dt ndt fd  d'd' fd } | | t tii d d } t | \ fd } x D]}d'}d'}xtitii |D]g}d'}|djot}| }ntii ||} ||}| | |t d|d|qWqNWtd'|dtd(_t _fd}|_d_idd'}|odtijo$d|}| ii|ntiidddjo1dtid |f}| ii|ndtid |f}| ii|g}D]$}tid|o ||q q ~}x|D] }|=q@Wnidd'}|odtijo$d|}| ii|ndtid |f}| ii|g}D]$}tid|o ||qq~}x|D] }|=qWntd jo?| iig}i D]}|d |qS~nt d joI| iig} i D]}|d |q~ht d!6ntii d d"}tii d d#} t!|d$i"i#}!zl|!~!}"t!| d%i"i#}#z@|#~#}$t$i%|"}%t$i&|$}&xl|%D]d}'i|'d |'d |'d <|'d jo"t'|'d \|'d<|'d&-$ +isentry_points.txtcs|iido|d }nO|iido|d }n+|iido|d }n|}|jp |jS(Ns.exeis -script.pyis.pya(RRR(R3t matchname(RhRg(s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pytis_entrypoint_wrapperstscriptsRRR/cs6ih|id6|iiddd6|id6S(Ntmodulet.it import_nametfunc(tscript_templatetprefixtsuffixR(tentry(tmaker(s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pyt_get_script_text s  s# -*- coding: utf-8 -*- import re import sys from %(module)s import %(import_name)s if __name__ == '__main__': sys.argv[0] = re.sub(r'(-script\.pyw|\.exe)?$', '', sys.argv[0]) sys.exit(%(func)s()) tpiptENSUREPIP_OPTIONSspip = t altinstalls pip%s = %siispip(\d(\.\d)?)?$t easy_installseasy_install = seasy_install-%s = %sseasy_install(-\d\.\d)?$s%s = %sRhtRECORDs RECORD.piptrsw+iN(R/(-RRXRR9RRrtsett compileallt compile_dirRCR=tNoneRQRiRMRHRtvariantstset_modeRRtpoptenvirontextendtmaketgetR1tversiontreRORt make_multipleRbR7RRtcsvtreadertwriterR&twriterowR<trelpathRtmove(+R3RRSRjRkRlt pycompiletschemetstrip_file_prefixRt generatedRtep_fileRtdatadirRRtsubdirRRt pip_scripttspecR#tktpip_epteasy_install_scriptt_[2]teasy_install_ept_[3]tkvt_[4]trecordt temp_recordt_[5]t record_int_[6]t record_outRRtrowR$R!tl(( R~RgRRSRR|R}RuRRRhRs:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pytmove_wheel_filess"   (   $  # 8 '?I&&"+*cs"tifd}|S(Nc?sJt}x:||D])}||jo|i||VqqWdS(N(RRv(targstkwtseenRU(tfn(s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pytuniquevs    (t functoolstwraps(RR((Rs:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pyt_uniqueusccsddkl}ti||id}x|D]{}tii|i|d}|V|i doDtii |\}}|d }tii||d}|Vq5q5WdS( s Yield all the uninstallation paths for dist based on RECORD-without-.pyc Yield paths to all the files in RECORD. For each .py file in RECORD, add the .pyc in the same directory. UninstallPathSet.add() takes care of the __pycache__ .pyc. i(tFakeFileRis.pyis.pycN( tpip.reqRRRtget_metadata_linesR9RRQtlocationRR(tdistRRRRtdnRtbase((s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pytuninstallation_pathss  c Csyg}tid|D] }||q~d}|id}ti|}|di}ttt |i d}|SWnt SXdS(s Return the Wheel-Version of an extracted wheel, if possible. Otherwise, return False if we couldn't parse / extract it. iRKs Wheel-VersionRN( R t find_on_pathRt get_metadataRtparsestrR\ttupletmaptintRR=(t source_dirR#tdRt wheel_dataR((s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pyt wheel_versions1cCs|ptd|n|dtdjo,td|ditt|fn5|tjo'tidditt|ndS(s Raises errors or warns if called with an incompatible Wheel-Version. Pip should refuse to install a Wheel-Version that's a major series ahead of what it's compatible with (e.g 2.0 > 1.1); and warn when installing a version only minor version ahead (e.g 1.2 > 1.1). version: a 2-tuple representing a Wheel-Version (Major, Minor) name: name of wheel or package to raise exception about :raises UnsupportedWheel: when an incompatible Wheel-Version is given s(%s is in an unsupported or invalid wheelisB%s's Wheel-Version (%s) is not compatible with this version of pipRs*Installing from a newer Wheel-Version (%s)N(RtVERSION_COMPATIBLERQRR-Rtwarn(RR3((s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pytcheck_compatibilitys &  tWheelcBsDeZdZeideiZdZddZ ddZ RS(s A wheel files^(?P(?P.+?)-(?P\d.*?)) ((-(?P\d.*?))?-(?P.+?)-(?P.+?)-(?P.+?) \.whl|\.dist-info)$csii|}|ptd|n|_|ididd_|ididd_|idid_ |idid_ |id id_ t fd i D_ d S( sX :raises InvalidWheelFilename: when the filename is invalid for a wheel s!%s is not a valid wheel filename.R3RJRItvertpyverRtabitplatc3sJxC|]<}x3iD](}xiD]}|||fVq&WqWqWdS(N(tabistplats(t.0txtytz(tself(s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pys s N(t wheel_file_reRORRcRPRLR3RRt pyversionsRRRt file_tags(RRct wheel_info((Rs:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pyt__init__s cCsn|djo ti}ng}|iD]'}||jo||i|q(q(~}|o t|SdS(s" Return the lowest index that one of the wheel's file_tag combinations achieves in the supported_tags list e.g. if there are 8 supported tags, and one of the file tags is first in the list, then return 0. Returns None is the wheel is not supported. N(RR tsupported_tagsRtindextmin(RttagsR#tctindexes((s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pytsupport_index_mins  >cCs6|djo ti}ntt|i|iS(s'Is this wheel supported on this system?N(RR RtboolRt intersectionR(RR ((s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pyt supporteds  N( t__name__t __module__t__doc__RtcompiletVERBOSERRRR R(((s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pyRs   t WheelBuildercBs/eZdZggdZdZdZRS(s#Build wheels from a RequirementSet.cCs7||_||_t||_||_||_dS(N(trequirement_settfinderR t wheel_dirt build_optionstglobal_options(RRRRRR((s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pyRs    c Cstidd|igt|i}tid|itid|i|dd|ig|i }y!t |d|i dt t SWntid |it SXd S( sBuild one wheel.s-csjimport setuptools;__file__=%r;exec(compile(open(__file__).read().replace('\r\n', '\n'), __file__, 'exec'))s#Running setup.py bdist_wheel for %ssDestination directory: %st bdist_wheels-dtcwdt show_stdoutsFailed building wheel for %sN(R1R>tsetup_pytlistRRtnotifyR3RRR RR=RCterror(RRt base_argst wheel_args((s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pyt _build_ones  c Cs|ii|i|iii}g}|D]}|ip ||q0q0~}|pdStiddig}|D]}||i qz~ti d7_ gg}}x<|D]4}|i |o|i |q|i |qWti d8_ |o<tiddig}|D]}||i q#~n|o<tiddig} |D]}| |i qf~ ndS(s Build wheels.Ns*Building wheels for collected packages: %st,isSuccessfully built %st sFailed to build %s( Rt prepare_filesRt requirementstvaluestis_wheelRR!RQR3tindentR%R( RtreqsetR#RtbuildsetRt build_successt build_failureRR((s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pytbuilds(// <(RRRRR%R1(((s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pyRs (iii(;Rt __future__RRRRRR9RRR1tbase64Rt email.parserRtpip.backwardcompatRRtpip.exceptionsRRt pip.locationsRtpip.logRRR tpip.utilR R R t pip._vendorR tpip._vendor.distlib.scriptsRt wheel_extRR&R)R,t NameErrorR7RHRRRNRXRiR=RRCRRRRRtobjectRR(((s:/opt/alt/python33/lib/python3.3/site-packages/pip/wheel.pytsT                 2