Your IP : 3.135.209.231
U
�Qab�� � @ s d gZ ddlZddlZddlZddlZddlZddlZddlZddl Zddl
ZddlZddlm
Z
ddlmZ ddlmZ ddlZddlmZ ddlmZ ddlmZmZmZ dd lmZ dd
lmZ ddlmZ ddlm Z dd
lm!Z! ddl"m#Z#m$Z$m%Z% ddl&m'Z' ddl(m)Z) ddl*m+Z+ ddl,m-Z- ddl.m/Z/ ddl0Z0e1d� e1d� dd� Z2dd� Z3dd� Z4dd� Z5e6e7fZ8dd � Z9d!d"� Z:d#d$� Z;d%d&� Z<d'd(� Z=d)d*� Z>d+d,� Z?d-d.� Z@d/d0� ZAd1d2� ZBd3d4� ZCd5d6� ZDe-ejEjF�ZGG d7d � d eG�ZFG d8d9� d9�ZHG d:d;� d;e'�ZIdS )<�Distribution� N)� strtobool)�DEBUG��translate_longopt)�defaultdict)�message_from_file)�DistutilsOptionError�DistutilsPlatformError�DistutilsSetupError)�
rfc822_escape)�
StrictVersion)�six)� packaging)�ordered_set)�map�filter�filterfalse� )�SetuptoolsDeprecationWarning)�Require)�windows_support)�
get_unpatched)�parse_configurationz&setuptools.extern.packaging.specifiersz#setuptools.extern.packaging.versionc C s t �dt� t| �S )NzDo not call this function)�warnings�warn�DistDeprecationWarningr )�cls� r �3/usr/lib/python3.8/site-packages/setuptools/dist.py�_get_unpatched- s r c C s� t | dd �}|d kr�| js | jr*td�}nd| jd k sT| jd k sTt | dd �d k sT| jr^td�}n0| js|| js|| j s|| j
s|| jr�td�}ntd�}|| _|S )N�metadata_versionz2.1�python_requires�1.2�1.1z1.0)
�getattr�long_description_content_type�provides_extrasr
�
maintainer�maintainer_email�project_urls�provides�requires� obsoletes�classifiers�download_urlr! )�selfZmvr r r �get_metadata_version2 s*
���
��
r1 c s t |�� � fdd�}� fdd�}t� d �| _|d�| _|d�| _|d�| _|d �| _d
| _|d�| _d
| _ |d�| _
|d
�| _d� kr�|d�| _nd
| _|d�| _
|d�| _d� kr�|d��d�| _|d�| _|d�| _| jtd�k�r
|d�| _|d�| _|d�| _nd
| _d
| _d
| _d
S )z-Reads the metadata values from a file object.c s � | }|dkrd S |S )NZUNKNOWNr )�name�value��msgr r �_read_fieldL s z"read_pkg_file.<locals>._read_fieldc s � � | d �}|g krd S |S �N)Zget_all)r2 �valuesr4 r r �
_read_listR s z!read_pkg_file.<locals>._read_listzmetadata-versionr2 �versionZsummary�authorNzauthor-emailz home-page�licensezdownload-url�description�keywords�,�platformZ
classifierr$ r, r+ r- )r r
r! r2 r: r= r; r( �author_emailr) Zurlr<