관리-도구
편집 파일: metadata.cpython-38.pyc
U &?�f � � @ 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 �ZdddgZdZ dZ!e�"d�Z#e�"d�Z$dZ%dZ&dZ'dZ(dZ)dZ*d Z+e*d! Z,d"Z-d#Z.e,e. Z/e0� Z1e1�2e%� e1�2e&� e1�2e(� e1�2e*� e1�2e,� e1�2e/� e�"d$�Z3d%d&� Z4d'd(� Z5d)d*� e1D �Z6d+d*� e6�7� D �Z8d,Z9d-Z:d.Z;d/Z<d0Z=d1Z>d2Z?e@� ZAe�"d3�ZBd=d5d6�ZCG d7d8� d8e@�ZDd9ZEd:ZFd;ZGG d<d� de@�ZHdS )>zzImplementation 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 @ s e Zd ZdZdS )�MetadataMissingErrorzA required metadata is missingN��__name__� __module__�__qualname__�__doc__� r r �J/opt/hc_python/lib/python3.8/site-packages/pip/_vendor/distlib/metadata.pyr s r c @ s e Zd ZdZdS )�MetadataConflictErrorz>Attempt to read or write metadata fields that are conflictual.Nr r r r r r s r c @ s e Zd ZdZdS )� MetadataUnrecognizedVersionErrorz Unknown metadata version number.Nr r r r r r $ s r c @ s e Zd ZdZdS )�MetadataInvalidErrorzA metadata value is invalidNr r r r r r ( s 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 r! r"