File: D:/Python311/Lib/site-packages/pip/_internal/commands/__pycache__/show.cpython-311.pyc
�
�mi� � � � d dl mZ d dlZd dlZd dlmZmZmZ d dlm Z d dl
mZ d dlm
Z
d dlmZ d dlmZ d d lmZmZ d d
lmZmZ d dlmZ ej e� � Zdd�Z G d� de� � Z G d� de� � Zdd�Z d d�Z!dS )!� )�annotationsN)� Generator�Iterable�Iterator)�Values)�
NamedTuple)�InvalidRequirement��canonicalize_name)�Command)�ERROR�SUCCESS)�BaseDistribution�get_default_environment)�write_output�label�str�returnc � � t j t j z }t � dd|� � }| � |� � � � � S )N� )�string�punctuation�
whitespacer � maketrans� translate�lower)r �chars_to_remove�removal_maps �=D:\Python311\Lib\site-packages\pip/_internal/commands/show.py�normalize_project_url_labelr sE � ��(�6�+<�<�O��-�-��B��8�8�K��?�?�;�'�'�-�-�/�/�/� c �* � e Zd ZdZdZdZdd�Zdd�Zd
S )�ShowCommandzx
Show information about one or more installed packages.
The output is in RFC-compliant mail header format.
z$
%prog [options] <package> ...Tr �Nonec � � | 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 r �add_optionszShowCommand.add_options&