관리-도구
편집 파일: metadata.cpython-310.pyc
o ƚReŘ � @ s� d Z ddlmZ ddlZddlmZ ddlZddlZddlZddl m Z mZ ddlm Z mZmZ ddlmZ dd lmZmZ dd lmZmZ e�e�ZG dd� de �ZG d d� de �ZG dd� de �ZG dd� de �Zg d�ZdZ dZ!e�"d�Z#e�"d�Z$dZ%dZ&dZ'dZ(dZ)dZ*dZ+e*d Z,d Z-e.� Z/e/�0e%� e/�0e&� e/�0e(� e/�0e*� e/�0e,� e�"d!�Z1d"d#� Z2d$d%� Z3d&d'� e/D �Z4d(d'� e4�5� D �Z6d)Z7d*Z8d+Z9d,Z:d-Z;d.Z<d/Z=e>� Z?e�"d0�Z@d;d2d3�ZAG d4d5� d5e>�ZBd6ZCd7ZDd8ZEG d9d:� d:e>�ZFdS )<z�Implementation of the Metadata for Python packages PEPs. Supports all metadata formats (1.0, 1.1, 1.2, 1.3/2.1 and withdrawn 2.0). � )�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 ZdZdS )�MetadataMissingErrorzA required metadata is missingN��__name__� __module__�__qualname__�__doc__� r r ��/builddir/build/BUILDROOT/alt-python310-pip-21.3.1-3.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_vendor/distlib/metadata.pyr � r c @ r )�MetadataConflictErrorz>Attempt to read or write metadata fields that are conflictual.Nr r r r r r r r c @ r )� MetadataUnrecognizedVersionErrorz Unknown metadata version number.Nr r r r r r $ r r c @ r )�MetadataInvalidErrorzA metadata value is invalidNr r r r r r ( 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"