U
.e @ s d dl mZ d dlZd dlZd dlmZ d dlmZ d dlm Z d dl
mZ d dlm
Z
mZ d dlmZ eeZG d d
d
eZdd ZdddZdS ) )absolute_importN)
FeedParser)
pkg_resourcescanonicalize_name)Command)ERRORSUCCESS)write_outputc s0 e Zd ZdZdZdZ fddZdd Z ZS )ShowCommandzx
Show information about one or more installed packages.
The output is in RFC-compliant mail header format.
z$
%prog [options] ...Tc s> t t| j|| | jjddddddd | jd| j d S ) Nz-fz--filesfiles
store_trueFz7Show the full list of installed files for each package.)destactiondefaulthelpr )superr __init__Zcmd_optsZ
add_optionparserZinsert_option_group)selfargskw __class__ ?/usr/lib/python3.8/site-packages/pip/_internal/commands/show.pyr s zShowCommand.__init__c C s8 |st d tS |}t|}t||j|jds4tS tS )Nz.ERROR: Please provide a package name or names.)
list_filesverbose)loggerwarningr search_packages_info
print_resultsr r r )r Zoptionsr queryresultsr r r run* s
zShowCommand.run) __name__
__module____qualname____doc__ZusageZignore_require_venvr r$
__classcell__r r r r r s
r c # sT i t jD ]}|t|j<