관리-도구
편집 파일: metadata.cpython-37.pyc
B :��aŘ � @ 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-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;d0Z<d1Z=e>� Z?e�"d2�Z@d<d4d5�ZAG d6d7� d7e>�ZBd8ZCd9ZDd:ZEG d;d� de>�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 @ s e Zd ZdZdS )�MetadataMissingErrorzA required metadata is missingN)�__name__� __module__�__qualname__�__doc__� r r �A/opt/alt/python37/lib/python3.7/site-packages/distlib/metadata.pyr s r c @ s e Zd ZdZdS )�MetadataConflictErrorz>Attempt to read or write metadata fields that are conflictual.N)r r r r r r r r r s r c @ s e Zd ZdZdS )� MetadataUnrecognizedVersionErrorz Unknown metadata version number.N)r r r r r r r r r $ s r c @ s e Zd ZdZdS )�MetadataInvalidErrorzA metadata value is invalidN)r r r r r r r r r ( s r �Metadata�PKG_INFO_ENCODING�PKG_INFO_PREFERRED_VERSIONzutf-8z1.1z \|z )zMetadata-Version�Name�Version�Platform�Summary�Description�Keywordsz Home-page�AuthorzAuthor-email�License)zMetadata-Versionr r r zSupported-Platformr r r! z Home-pager"