관리-도구
편집 파일: metadata.cpython-312.pyc
� G��ey� � �� � d Z ddlmZ ddlZddlmZ ddlZddlZddlZddl m Z mZ ddlm Z mZmZ ddlmZ dd lmZmZ dd lmZmZ ej0 e� Z G d� de � Z G d � de � Z G d� de � Z G d� de � Zg d�ZdZ dZ! ejD d� Z# ejD d� Z$dZ%dZ&dZ'dZ(dZ)dZ*dZ+e*dz Z,d Z-d!Z.e,e.z Z/ e0� Z1e1je e%� e1je e&� e1je e(� e1je e*� e1je e,� e1je e/� ejD d"� Z3d#� Z4d$� Z5e1D � ci c]# } | jm � jo d%d&� | ��% c} Z8e8js � D ��ci c] \ }}||�� c}}Z:d'Z;d(Z<d)Z=d*Z>d+Z?d,Z@d-ZA eB� ZC ejD d.� ZDd7d/�ZE G d0� d1eB� ZFd2ZGd3ZHd4ZI G d5� d6eB� ZJyc c} w c c}}w )8zzImplementation of the Metadata for Python packages PEPs. Supports all metadata formats (1.0, 1.1, 1.2, 1.3/2.1 and 2.2). � )�unicode_literalsN)�message_from_file� )�DistlibException�__version__)�StringIO�string_types� text_type)� interpret)�extract_by_key� get_extras)� get_scheme�PEP440_VERSION_REc � � e Zd ZdZy)�MetadataMissingErrorzA required metadata is missingN��__name__� __module__�__qualname__�__doc__� � ��/builddir/build/BUILDROOT/alt-python312-pip-23.3.1-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_vendor/distlib/metadata.pyr r s � �(r r c � � e Zd ZdZy)�MetadataConflictErrorz>Attempt to read or write metadata fields that are conflictual.Nr r r r r r s � �Hr r c � � e Zd ZdZy)� MetadataUnrecognizedVersionErrorz Unknown metadata version number.Nr r r r r r $ s � �*r r c � � e Zd ZdZy)�MetadataInvalidErrorzA metadata value is invalidNr r r r r r ( s � �%r r )�Metadata�PKG_INFO_ENCODING�PKG_INFO_PREFERRED_VERSION�utf-8�1.1z \|� )�Metadata-Version�Name�Version�Platform�Summary�Description�Keywords� Home-page�Author�Author-email�License)r&