관리-도구
편집 파일: show.cpython-312.pyc
� G��e � � � d dl Z d dlmZ d dlmZmZmZmZmZm Z d dl mZ d dlm Z d dlmZmZ d dlmZmZ d dlmZ e j, e� Z G d � d e � Z G d� de� Zd ee deeddf fd�Zdee dededefd�Zy)� N)�Values)� Generator�Iterable�Iterator�List� NamedTuple�Optional)�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 ��/builddir/build/BUILDROOT/alt-python312-pip-23.3.1-1.el8.x86_64/opt/alt/python312/lib/python3.12/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'