File: //usr/local/lib/python3.10/dist-packages/pip/_internal/commands/__pycache__/show.cpython-310.pyc
o
��h� � @ s� 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 e�e�Zd!dd�ZG dd� de�ZG dd� de�Zd"dd�Z d#dd �Z!dS )$� )�annotationsN)� Generator�Iterable�Iterator)�Values)�
NamedTuple)�InvalidRequirement��canonicalize_name)�Command)�ERROR�SUCCESS)�BaseDistribution�get_default_environment)�write_output�label�str�returnc C s( t jt j }t�dd|�}| �|��� S )N� )�string�punctuation�
whitespacer � maketrans� translate�lower)r �chars_to_remove�removal_map� r �F/usr/local/lib/python3.10/dist-packages/pip/_internal/commands/show.py�normalize_project_url_label s r c @ s, e Zd ZdZdZdZddd�Zdd
d�ZdS )�ShowCommandzx
Show information about one or more installed packages.
The output is in RFC-compliant mail header format.
z$
%prog [options] <package> ...Tr �Nonec C s, | j jddddddd� | 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)�selfr r r �add_options&