| Server IP : 209.209.40.120 / Your IP : 216.73.217.112 Web Server : Microsoft-IIS/10.0 System : Windows NT NEWWWW 10.0 build 17763 (Windows Server 2019) i586 User : NEWWWW$ ( 0) PHP Version : 8.3.30 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Python312/Lib/site-packages/pip/_internal/commands/__pycache__/ |
Upload File : |
�
�k�fS � � � d dl Z d dlmZ d dlmZmZmZmZmZm Z d dl
mZ d dlm
Z
d dlmZ d dlmZmZ d dlmZmZ d d lmZ e j0 e� Z G d
� de� Z G d� d
e� Zdee deeddf fd�Zdee dededefd�Z y)� N)�Values)� Generator�Iterable�Iterator�List�
NamedTuple�Optional)�InvalidRequirement)�canonicalize_name)�Command)�ERROR�SUCCESS)�BaseDistribution�get_default_environment)�write_outputc �: � e Zd ZdZdZdZd
d�Zdedee de
fd �Zy)�ShowCommandzx
Show information about one or more installed packages.
The output is in RFC-compliant mail header format.
z$
%prog [options] <package> ...T�returnNc � � | j j dddddd�� | j j d| j � y ) Nz-fz--files�files�
store_trueFz7Show the full list of installed files for each package.)�dest�action�default�helpr )�cmd_opts�
add_option�parser�insert_option_group)�selfs �=C:\Python312\Lib\site-packages\pip/_internal/commands/show.py�add_optionszShowCommand.add_options sE � ��
�
� � ������J�
!�
�
���'�'��4�=�=�9� �options�argsc � � |st j d� t S |}t |� }t ||j
|j �� st S t S )Nz.ERROR: Please provide a package name or names.)�
list_files�verbose)�logger�warningr
�search_packages_info�
print_resultsr r( r )r r$ r% �query�resultss r! �runzShowCommand.run'