File "show.pyc"

Full Path: /home/attunedd/public_html/byp/izo/con7ext_sym404/rintoar.txt/usr/lib/python2.7/site-packages/pip/commands/show.pyc
File size: 5.61 KB
MIME-type: text/x-bytecode.python
Charset: 8 bit


abc@@sddlmZddlmZddlZddlZddlmZddlm	Z	m
Z
ddlmZddl
mZejeZdefd	YZd
ZeedZdS(i(tabsolute_import(t
FeedParserN(tCommand(tSUCCESStERROR(t
pkg_resources(tcanonicalize_nametShowCommandcB@s2eZdZdZdZdZdZdZRS(s6Show information about one or more installed packages.tshows$
      %prog [options] <package> ...s*Show information about installed packages.cO@s^tt|j|||jjdddddddtdd	|jjd
|jdS(Ns-fs--filestdesttfilestactiont
store_truetdefaultthelps7Show the full list of installed files for each package.i(tsuperRt__init__tcmd_optst
add_optiontFalsetparsertinsert_option_group(tselftargstkw((s5/usr/lib/python2.7/site-packages/pip/commands/show.pyRs		cC@sO|stjdtS|}t|}t|d|jd|jsKtStS(Ns.ERROR: Please provide a package name or names.t
list_filestverbose(tloggertwarningRtsearch_packages_infot
print_resultsR
RR(RtoptionsRtquerytresults((s5/usr/lib/python2.7/site-packages/pip/commands/show.pytrun"s
(t__name__t
__module__t__doc__tnametusagetsummaryRR"(((s5/usr/lib/python2.7/site-packages/pip/commands/show.pyRs	cc@smi}x$tjD]}||t|j<qWg|D]}t|^q4}xg|D]}||krV||^qVD]}i|jd6|jd6|jd6g|jD]}|j^qd6}d}	d}
t|tj	r|j
dr~|jd}g|D]}|jdd^q}
g|
D]}t
jj|j|^q,}
g|
D]}t
jj||j^qW}	n|j
dr:|jd}
q:n|j
d	r|jd	}
g|
D]}t
jj|j|^q}
g|
D]}t
jj||j^q}	n|j
d
r:|jd
}
n|j
dre|jd}||d<n|j
d
rx:|jd
D]&}|jr|j|d<PqqWnt}|j|
|j}x!dD]}|j|||<qWg}x=|
jD]/}|jdr
|j|tdq
q
W||d<|	r`t|	|d<n|VqvWdS(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.
    R&tversiontlocationtrequirestRECORDt,itMETADATAsinstalled-files.txtsPKG-INFOsentry_points.txttentry_pointst	INSTALLERt	installersmetadata-versionR(s	home-pagetauthorsauthor-emailtlicensesClassifier: tclassifiersR
N(smetadata-versionR(s	home-pageR2sauthor-emailR3(Rtworking_setRtproject_nameR)R*R+tNonet
isinstancetDistInfoDistributionthas_metadatatget_metadata_linestsplittostpathtjointrelpathtget_metadatategg_infotstripRtfeedtclosetgett
splitlinest
startswithtappendtlentsorted(R t	installedtpR&tquery_namestpkgtdisttdeptpackaget	file_listtmetadatatlinestltpathsR/tlinetfeed_parsert
pkg_info_dicttkeyR4((s5/usr/lib/python2.7/site-packages/pip/commands/show.pyR/s`0


&&+.+.
	


c	C@snt}xat|D]S\}}t}|dkrAtjdntjd|jddtjd|jddtjd|jd	dtjd
|jddtjd|jd
dtjd|jddtjd|jddtjd|jddtjddj|jdg|rtjd|jddtjd|jddtjdx*|jdgD]}tjd|qWtjdx3|jdgD]}tjd|jqWn|rtjd x0|jd!gD]}tjd|jq'Wd!|krftjd"qfqqW|S(#sD
    Print the informations from installed distributions found.
    is---sName: %sR&tsVersion: %sR)sSummary: %sR(s
Home-page: %ss	home-pages
Author: %sR2sAuthor-email: %ssauthor-emailsLicense: %sR3sLocation: %sR*sRequires: %ss, R+sMetadata-Version: %ssmetadata-versions
Installer: %sR1sClassifiers:R4s  %ss
Entry-points:R/sFiles:R
s!Cannot locate installed-files.txt(Rt	enumeratetTrueRtinfoRFR?RC(	t
distributionsRRtresults_printedtiRPt
classifiertentryRX((s5/usr/lib/python2.7/site-packages/pip/commands/show.pyRxs>%	


(t
__future__Rtemail.parserRtloggingR=tpip.basecommandRtpip.status_codesRRtpip._vendorRtpip._vendor.packaging.utilsRt	getLoggerR#RRRRR(((s5/usr/lib/python2.7/site-packages/pip/commands/show.pyt<module>s	I