Hacked By AnonymousFox
3
\� � @ s� d Z ddlZddlZddlZddlmZ yddlZW n ek
rL dZY nX ddlT ddl m
Z
mZ ddlm
Z
mZmZ ddlmZ ddlmZ ejd �ZG d
d� d�ZG dd
� d
�Zdd� ZdS )z}distutils.dist
Provides the Distribution class, which represents the module distribution
being built/installed/distributed.
� N)�message_from_file)�*)�FancyGetopt�translate_longopt)�
check_environ� strtobool�
rfc822_escape)�log)�DEBUGz^[a-zA-Z]([a-zA-Z0-9_]*)$c @ sp e Zd ZdZd~dd�d�d�gZdZd�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�d�gZd>d?� eD �ZddiZd�d@dA�Z dBdC� Z
d�dEdF�ZdGdH� Zd�dIdJ�Z
dKdL� ZdMdN� ZdOdP� ZdQdR� Zddg fdSdT�ZdUdV� ZdWdX� ZdYdZ� Zd[d\� Zd]d^� Zd_d`� Zd�dadb�Zd�dcdd�Zd�dfdg�Zejfdhdi�Zdjdk� Zdldm� Z dndo� Z!dpdq� Z"drds� Z#dtdu� Z$dvdw� Z%dxdy� Z&dzd{� Z'd|d}� Z(dS )��Distributiona� The core of the Distutils. Most of the work hiding behind 'setup'
is really done within a Distribution instance, which farms the work out
to the Distutils commands specified on the command line.
Setup scripts will almost never instantiate Distribution directly,
unless the 'setup()' function is totally inadequate to their needs.
However, it is conceivable that a setup script might wish to subclass
Distribution for some specialized purpose, and then pass the subclass
to 'setup()' as the 'distclass' keyword argument. If so, it is
necessary to respect the expectations that 'setup' has of Distribution.
See the code for 'setup()', in core.py, for details.
�verbose�v�run verbosely (default)� �quiet�q�!run quietly (turns verbosity off)�dry-run�n�don't actually do anything�help�h�show detailed help message�no-user-cfgN�-ignore pydistutils.cfg in your home directoryz�Common commands: (see '--help-commands' for more)
setup.py build will build the package underneath 'build/'
setup.py install will install the package
�
help-commands�list all available commands�name�print package name�version�V�print package version�fullname�print <package name>-<version>�author�print the author's name�author-email� print the author's email address�
maintainer�print the maintainer's name�maintainer-email�$print the maintainer's email address�contact�7print the maintainer's name if known, else the author's�
contact-email�@print the maintainer's email address if known, else the author's�url�print the URL for this package�license� print the license of the package�licence�alias for --license�description�print the package description�long-description�"print the long package description� platforms�print the list of platforms�classifiers�print the list of classifiers�keywords�print the list of keywords�provides�+print the list of packages/modules provided�requires�+print the list of packages/modules required� obsoletes�0print the list of packages/modules made obsoletec C s g | ]}t |d ��qS )r )r )�.0�x� rH �&/usr/lib64/python3.6/distutils/dist.py�
<listcomp>s s zDistribution.<listcomp>c C s� d| _ d| _d| _x| jD ]}t| |d� qW t� | _x,| jjD ] }d| }t| |t| j|�� q@W i | _ d| _
d| _d| _i | _
g | _d| _i | _d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _i | _i | _|�r8|jd�}|dk �rH|d= xD|j� D ]8\}}| j |�}x"|j� D ]\} }
d|
f|| <