Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
cloudlinux
/
venv
/
lib
/
python3.11
/
site-packages
/
pip
/
_internal
/
commands
/
__pycache__
[ HOME ]
Exec
Submit
show.cpython-311.pyc
� �� h� � �4 � d dl Z d dlmZ d dlmZmZmZmZmZm Z d dl mZ d dlm Z d dlmZ d dlmZmZ d dlmZmZ d d lmZ e j e� � Z G d � de� � Z G d� d e� � Zdee deeddf fd�Zdee dededefd�Z dS )� N)�Values)� Generator�Iterable�Iterator�List� NamedTuple�Optional)�InvalidRequirement��canonicalize_name)�Command)�ERROR�SUCCESS)�BaseDistribution�get_default_environment)�write_outputc �B � e Zd ZdZdZdZd d�Zdedee de fd �ZdS )�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 � dddddd�� � | j � d| j � � d S ) 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 �l/builddir/build/BUILD/cloudlinux-venv-1.0.8/venv/lib/python3.11/site-packages/pip/_internal/commands/show.py�add_optionszShowCommand.add_options sU � �� � � ������J� !� � � � ��'�'��4�=�9�9�9�9�9� �options�argsc � � |s!t � 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&