AlkantarClanX12
Current Path : /proc/self/root/lib/python3.6/site-packages/setuptools/__pycache__/ |
Current File : //proc/self/root/lib/python3.6/site-packages/setuptools/__pycache__/dist.cpython-36.pyc |
3 9��fu� � @ s� d gZ ddlZddlZddlZddlZddlZddlZddlZddl Zddl Z ddlmZ ddl mZmZmZ ddlmZ ddlmZ ddlmZ ddlmZ dd lmZmZmZ dd lmZ ddlmZ ddl m!Z! dd l"m#Z# ddl$Z$ddl%m&Z& e'd� e'd� dd� Z(dd� Z)dd� Z*e+e,fZ-dd� Z.dd� Z/dd� Z0dd� Z1d d!� Z2d"d#� Z3d$d%� Z4d&d'� Z5d(d)� Z6d*d+� Z7d,d-� Z8d.d/� Z9e!ej:j;�Z<G d0d � d e&e<�Z;G d1d2� d2�Z=dS )3�Distribution� N)�defaultdict)�DistutilsOptionError�DistutilsPlatformError�DistutilsSetupError)� rfc822_escape)� StrictVersion)�six)� packaging)�map�filter�filterfalse)�Require)�windows_support)� get_unpatched)�parse_configuration� )�Distribution_parse_config_filesz&setuptools.extern.packaging.specifiersz#setuptools.extern.packaging.versionc C s t jdt� t| �S )NzDo not call this function)�warnings�warn�DeprecationWarningr )�cls� r �/usr/lib/python3.6/dist.py�_get_unpatched# s r c C sn | j s| jrtd�S | jd k s8| jd k s8t| dd �d k r@td�S | js^| js^| js^| j s^| j rftd�S td�S )Nz2.1�python_requiresz1.2z1.1z1.0)�long_description_content_type�provides_extrasr � maintainer�maintainer_email�getattrZprovides�requiresZ obsoletesZclassifiers�download_url)Zdist_mdr r r �get_metadata_version( s r# c C sP t | �}|jd| � |jd| j� � |jd| j� � |jd| j� � |jd| j� � |td�k r�|jd| j� � |jd| j� � nJd'}xD|D ]<\}}t | |�}t jr�| j|�}|dk r�|jd||f � q�W |jd| j � � | j�r|jd| j � x"| jj� D ]}|jd| � �qW t| j� �}|jd| � dj| j� �} | �rd|jd| � |td�k�r�x4| j� D ]} |jd| � �q|W n| j|d| j� � | j|d| j� � | j|d| j� � | j|d| j� � | j|d| j� � t| d��r|jd | j � | j�r$|jd!| j � | j�rLx| jD ]}|jd"| � �q4W dS )(z5Write the PKG-INFO format data to a file object. zMetadata-Version: %s z Name: %s zVersion: %s zSummary: %s zHome-page: %s z1.2zAuthor: %s zAuthor-email: %s �Author�author�Author-email�author_email� Maintainerr �Maintainer-emailr Nz%s: %s zLicense: %s zDownload-URL: %s zProject-URL: %s, %s zDescription: %s �,z Keywords: %s z Platform: %s ZPlatformZ ClassifierZRequiresZProvidesZ Obsoletesr zRequires-Python: %s zDescription-Content-Type: %s zProvides-Extra: %s �r$ r% �r&