Files
PowerToys/PythonHome/Lib/site-packages/pip/commands/show.pyc

21 lines
3.4 KiB
Plaintext
Raw Normal View History

2014-07-09 18:15:23 +08:00
<03>
<00>Sc@shddlZddlmZddlmZddlmZdefd<00><00>YZd<00>Zd<00>Z dS( i<><69><EFBFBD><EFBFBD>N(tCommand(tlogger(t pkg_resourcest ShowCommandcBs2eZdZdZdZdZd<00>Zd<00>ZRS(s6Show information about one or more installed packages.tshows$
%prog [options] <package> ...s*Show information about installed packages.c Os^tt|<00>j||<00>|jjdddddddtdd <00>|jjd
|j<00>dS( Ns-fs--filestdesttfilestactiont
store_truetdefaultthelps7Show the full list of installed files for each package.i(tsuperRt__init__tcmd_optst
add_optiontFalsetparsertinsert_option_group(tselftargstkw((sHc:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\commands\show.pyR s  cCs=|stjd<00>dS|}t|<00>}t||j<00>dS(Ns.ERROR: Please provide a package name or names.(Rtwarntsearch_packages_infot print_resultsR(RtoptionsRtquerytresults((sHc:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\commands\show.pytruns   (t__name__t
__module__t__doc__tnametusagetsummaryR R(((sHc:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\commands\show.pyRs  c cs<>tgtjD]}|jj<00>|f^q <00>}x<>|D]<5D>}|j<00>}||kr8||}i|jd6|jd6|jd6g|j<00>D]}|j^q<>d6}tj j
|j|j <00>dd<00>}tj j |<00>r<>||d<n|Vq8q8WdS( s<>
Gather details from installed distributions. Print distribution name,
version, location, and installed files. Installed files requires a
pip generated 'installed-files.txt' in the distributions '.egg-info'
directory.
Rtversiontlocationtrequiress .egg-infosinstalled-files.txtRN( tdictRt working_sett project_nametlowerR"R#R$tostpathtjointegg_nametisfile( Rtptinstalled_packagesRtnormalized_nametdisttdeptpackagetfilelist((sHc:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\commands\show.pyR$s$.   



&    cCs<>x<>|D]<5D>}tjd<00>tjd|d<16>tjd|d<16>tjd|d<16>tjdd j|d
<19><16>|rtjd <00>d |kr<>x?t|d <19>D]}tjd |j<00><16>q<>Wq<57>tjd<00>qqWdS(sD
Print the informations from installed distributions found.
s---sName: %sRs Version: %sR"s Location: %sR#s Requires: %ss, R$sFiles:Rs %ss!Cannot locate installed-files.txtN(RtnotifyR+topentstrip(t distributionstlist_all_filesR1tline((sHc:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\commands\show.pyR@s    (
R)tpip.basecommandRtpip.logRt pip._vendorRRRR(((sHc:\Users\lifqian\Desktop\Python27\lib\site-packages\pip\commands\show.pyt<module>s