/opt/alt/python34/lib/python3.4/site-packages/pip/commands
NameSizeModeActions
__pycache__/-0755rm
bundle.py17870644editdlrm
bundle.pyc22800644editdlrm
bundle.pyo22800644editdlrm
completion.py18380644editdlrm
completion.pyc24520644editdlrm
completion.pyo24520644editdlrm
freeze.py46640644editdlrm
freeze.pyc46240644editdlrm
freeze.pyo46240644editdlrm
help.py9270644editdlrm
help.pyc13340644editdlrm
help.pyo13340644editdlrm
install.py137800644editdlrm
install.pyc104490644editdlrm
install.pyo104490644editdlrm
list.py68140644editdlrm
list.pyc66160644editdlrm
list.pyo66160644editdlrm
search.py47360644editdlrm
search.pyc55460644editdlrm
search.pyo55460644editdlrm
show.py27670644editdlrm
show.pyc34710644editdlrm
show.pyo34710644editdlrm
uninstall.py22030644editdlrm
uninstall.pyc27160644editdlrm
uninstall.pyo27160644editdlrm
unzip.py1850644editdlrm
unzip.pyc5770644editdlrm
unzip.pyo5770644editdlrm
wheel.py77140644editdlrm
wheel.pyc63270644editdlrm
wheel.pyo63270644editdlrm
zip.py148210644editdlrm
zip.pyc121600644editdlrm
zip.pyo121600644editdlrm
__init__.py22360644editdlrm
__init__.pyc26890644editdlrm
__init__.pyo26890644editdlrm
Edit: /opt/alt/python34/lib/python3.4/site-packages/pip/commands/zip.pyc (12160B)
Ñò *‘Rec @s®ddkZddkZddkZddkZddkZddkZddklZlZl Z ddk l Z ddk l Z ddklZdefd„ƒYZdS(iÿÿÿÿN(t display_patht backup_dirtrmtree(tlogger(tInstallationError(tCommandt ZipCommandcBsƒeZdZdZdZdZd„Zd„Zd„Zd„Z d„Z d „Z d „Z d „Z d „Zd „Zd„ZRS(sZip individual packages.tzips# %prog [options] ...s$DEPRECATED. Zip individual packages.c Os;tt|ƒi||Ž|idjo&|iidddddddƒn)|iid dd ddd tdd ƒ|iid ddddddƒ|iiddddddddƒ|iidddddddƒ|iidddddddƒ|iiddddddƒ|iid|iƒdS(NRs--unziptactiont store_truetdesttunzipthelps"Unzip (rather than zip) a package.s--zipt store_falsetdefaults"Zip (rather than unzip) a package.s--no-pyctno_pycsEDo not include .pyc files in zip files (useful on Google App Engine).s-ls--listtlists2List the packages available, and their zip status.s --sort-filest sort_filessDWith --list, sort packages according to how many files they contain.s--pathtappendtpathss?Restrict operations to the given paths (may include wildcards).s-ns --simulates0Do not actually perform the zip/unzip operation.i( tsuperRt__init__tnametcmd_optst add_optiontTruetparsertinsert_option_group(tselftargstkw((sA/opt/alt/python34/lib/python3.4/site-packages/pip/commands/zip.pyRsL          cCs{|iptiSg}tƒ}xtiD]ø}tiitii|ƒƒ}xÑ|iD]£}tiitii|ƒƒ}d|joCtit i |dƒ|ƒo|i |ƒ|i |ƒPqüqY|i |ƒo|i |ƒ|i |ƒPqYqYWtid|di|iƒfƒq+WxM|iD]B}||jo/d|jo"|i |ƒtid|ƒq1q1W|S(s:All the entries of sys.path, possibly restricted by --patht*s,Skipping path %s because it doesn't match %ss, sDAdding path %s because it doesn't match anything already on sys.path(t select_pathstsystpathtsettostnormcasetabspathtretsearchtfnmatcht translateRtaddt startswithRtdebugtjoin(Rtresultt match_anyR"tmatch((sA/opt/alt/python34/lib/python3.4/site-packages/pip/commands/zip.pyR>s8                cCsbtiddƒ|i|_|i|_|io|i||ƒS|ptdƒ‚ng}x¦|D]ž}|i|ƒ\}}|io-t i i |ƒotd||fƒ‚n:|i o.t i i |ƒ otd||fƒ‚n|i ||fƒqgWd}xL|D]D\}}|io|i||ƒ}q|i|||iƒ}qW|S(Ns1.7s_DEPRECATION: 'pip zip' and 'pip unzip` are deprecated, and will be removed in a future release.s2You must give at least one package to zip or unzips;The module %s (in %s) is not a zip file; cannot be unzippeds:The module %s (in %s) is not a directory; cannot be zipped(Rt deprecatedRR tsimulateRRt find_packageR R$R"tisdirRtNonet unzip_packaget zip_packageR(RtoptionsRtpackagestargt module_nametfilenamet last_status((sA/opt/alt/python34/lib/python3.4/site-packages/pip/commands/zip.pytrun\s8      c Csìtii|ƒ}tii|ƒ o-ti|ƒotd|||fƒ‚ntii|ƒ}||iƒjo0ti dt |ƒt |ƒt |ƒfƒnti d|t |ƒfƒ|i oti dƒdSti d7_ zåti|ƒ}g}x#|iƒD]}|i}|i|tiiƒoÐ|i|ƒ} tii||ƒ} tiitii| ƒƒptitii| ƒƒn| o>| itiiƒo(tii| ƒpti| ƒq q*t| dƒ} | i| ƒ| iƒq|i||i|ƒfƒqW|iƒ|p5tidt |ƒƒti|ƒ|i|ƒnatid|t |ƒfƒti|d ƒ}x$|D]\}} |i|| ƒqªW|iƒWdti d8_ XdS( Ns3Module %s (in %s) isn't located in a zip file in %ss/Unpacking %s into %s, but %s is not on sys.pathsUnzipping %s (in %s)s3Skipping remaining operations because of --simulateitwbsRemoving now-empty zip file %ss(Removing entries in %s/ from zip file %stw( R$R"tdirnametisfiletzipfilet is_zipfileRRRtwarnRtnotifyR3tindenttZipFiletinfolistR=R,tseptreadR.texiststmakedirstendswithtopentwritetcloseRtinfotunlinktremove_filename_from_pthtwritestr( RR<R=t zip_filenamet package_pathRtto_saveRSRtcontentR tf((sA/opt/alt/python34/lib/python3.4/site-packages/pip/commands/zip.pyR7{s\$         cCs}|}tid|t|ƒfƒtid7_|idƒo |}n |d}z||joEt|ƒ}tid||fƒ|ipti||ƒq«ny ti dt|ƒƒ|ipLt i |dƒ}|i |dd ƒxt i|ƒD]\}}} |o?g} | D]'} | iƒid ƒp | | q&q&~ } nx¬|tf| tfgD]’\} } xƒ| D]{}t ii||ƒ}t ii||t|ƒit iiƒ|ƒ}| o|i |dd ƒq†|i||ƒq†WqsWqW|iƒnti d t|ƒƒ|ipt|ƒnWn ‚nX|i|ƒWdtid8_XdS( NsZip %s (in %s)is.eggs.zipsMoving %s aside to %ssCreating zip file in %sRAt/ts.pycsRemoving old directory %s(RRGRRHRORR3tshutiltmoveRSRDRIRVR$twalktlowerRtFalseR"R.tlentlstripRKRQRRRtadd_filename_to_pth(RR<R=Rt orig_filenamet dest_filenameRtdirpathtdirnamest filenamest_[1]R[tfnstis_dirtfntfullR ((sA/opt/alt/python34/lib/python3.4/site-packages/pip/commands/zip.pyR8®sN      . 1 c Cs[x=|iƒD]/}t|dƒ}|iƒ}|iƒg}|D]$}|iƒ|jo ||qCqC~}||jo¿tidt|ƒt|ƒfƒg}|D]} | o || q«q«~p6tidt|ƒƒ|ipt i |ƒq7n5|ip*t|dƒ}|i |ƒ|iƒndSq Wti dt|ƒƒdS(Ntrs*Removing reference to %s from .pth file %ss %s file would be empty: deletingR@s.Cannot find a reference to %s in any .pth file( t pth_filesRPt readlinesRRtstripRRSRR3R$RTt writelinesRF( RR=tpthR[tlinesRktlt new_linest_[2]tline((sA/opt/alt/python34/lib/python3.4/site-packages/pip/commands/zip.pyRUÚs&   8  -    cCs tii|ƒ}|d}||iƒjotidt|ƒƒn|ip±tii|ƒogt |ƒ}|i ƒ}|i ƒ|o)|di dƒ o|dcd7t|iƒƒD]*}tii|ƒpq*ntii|itiiƒƒ}tii |ƒoQt i |ƒoAtii |ƒ|iƒjot idt|ƒƒq*q*n|djo1|djo$|iddƒidƒ oq*nt idt|ƒƒt id 7_g}g}zxøtti|ƒƒD]á}tii|ƒd iƒ}|djoqXn|djot idt|ƒƒqXntii||ƒ} tii| ƒo |i||i| ƒfƒqXt i | ƒo|i|ƒqXt idt|ƒƒqXW|oUt idƒt id 7_z"x|D]}t i|ƒqjWWdt id 8_Xnt idƒ|o†|io|idd„ƒnt idƒt id 7_z2x+|D]#\}} t id|| fƒqôWWdt id 8_Xnt idƒWdt id 8_Xq*WdS(Ns'You cannot give an argument with --listsZipped egg: %ss site-packagess dist-packagess\R\s lib/pythonsIn %s:iis.pths .egg-infos .egg-links.pys Not displaying %s: not a packagesUnknown file: %ssZipped packages:sNo zipped packages.tkeycSs |d S(i((tx((sA/opt/alt/python34/lib/python3.4/site-packages/pip/commands/zip.pytLssUnzipped packages:s%s (%i files)sNo unzipped packages.(s.pths .egg-infos .egg-link(RtsortedRR$R"RMtbasenametrstripRKRCRDRERBRRGRtreplaceRORHR{tsplitextRaRSR.R5Rt count_packageRtsort( RR9RR"R‚tzippedtunzippedR=textRotcount((sA/opt/alt/python34/lib/python3.4/site-packages/pip/commands/zip.pyRsn !#        cCsxd}xkti|ƒD]Z\}}}g}|D]'}|iƒidƒp ||q0q0~}|t|ƒ7}qW|S(Nis.pyc(R$R`RaRORc(RR"ttotalRhRiRjRkR[((sA/opt/alt/python34/lib/python3.4/site-packages/pip/commands/zip.pyR†Ys*(t__name__t __module__t__doc__RtusagetsummaryRRR?R7R8RUReRqR4RR†(((sA/opt/alt/python34/lib/python3.4/site-packages/pip/commands/zip.pyR s *   3 ,     ;(R!R'R)R$R^RDtpip.utilRRRtpip.logRtpip.exceptionsRtpip.basecommandRR(((sA/opt/alt/python34/lib/python3.4/site-packages/pip/commands/zip.pyts