관리-도구
편집 파일: metadata.cpython-36.opt-1.pyc
3 �Pf�� � @ s d Z ddlmZ ddlZddlmZ ddlZddlZddlZddl m Z mZ ddlm Z mZmZ ddlmZ dd lmZmZ dd lmZmZ eje�ZG dd� de �ZG d d� de �ZG dd� de �ZG dd� de �ZdddgZdZ dZ!ej"d�Z#ej"d�Z$dGZ%dHZ&dIZ'dJZ(dKZ)dLZ*dMZ+e,� Z-e-j.e%� e-j.e&� e-j.e(� e-j.e*� ej"d8�Z/d9d:� Z0d;d<� Z1ddddd%ddd d!d"d#d+d,d$d&d'd-d/d0d5d1d2d*d)d(d.d3d4d6d7d=�Z2dNZ3dOZ4dPZ5dQZ6dRZ7dSZ8dTZ9e:� Z;ej"d>�Z<dUd@dA�Z=G dBdC� dCe:�Z>dDZ?dEZ@G dFd� de:�ZAdS )VzImplementation of the Metadata for Python packages PEPs. Supports all metadata formats (1.0, 1.1, 1.2, and 2.0 experimental). � )�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 �/usr/lib/python3.6/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 �Metadata-Version�Name�Version�Platform�Summary�Description�Keywords� Home-page�Author�Author-email�License�Supported-Platform� Classifier�Download-URL� Obsoletes�Provides�Requires� Maintainer�Maintainer-email�Obsoletes-Dist�Project-URL� Provides-Dist� Requires-Dist�Requires-Python�Requires-External�Private-Version�Obsoleted-By�Setup-Requires-Dist� Extension�Provides-Extraz"extra\s*==\s*("([^"]+)"|'([^']+)')c C s<