0x1949 Team - FAZEMRX - MANAGER
Edit File: dist.cpython-310.pyc
o �_�a�� � @ s� d Z ddlZddlZddlZddlmZ zddlZW n ey% dZY nw ddlT ddl m Z mZ ddlm Z mZmZ ddlmZ ddlmZ e�d �Zd d� ZG dd � 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 C sT t | t�r | S t | t�s(t| �j}d}|jdi t� ��}t�tj|� t| �} | S )Nz>Warning: '{fieldname}' should be a list, got type '{typename}'� ) � isinstance�str�list�type�__name__�format�localsr �WARN)�value� fieldname�typename�msgr r �</usr/lib/python3/dist-packages/setuptools/_distutils/dist.py�_ensure_list s � r c @ sD e Zd ZdZg d�ZdZg d�Zdd� eD �ZddiZdId d�Z dd � Z dJdd�Zdd� ZdIdd�Z dd� Zdd� Zdd� Zdd� Zddg fdd�Zd d!� Zd"d#� Zd$d%� Zd&d'� Zd(d)� Zd*d+� ZdKd,d-�ZdId.d/�ZdLd1d2�Zejfd3d4�Zd5d6� Zd7d8� Z d9d:� Z!d;d<� Z"d=d>� Z#d?d@� Z$dAdB� Z%dCdD� Z&dEdF� Z'dGdH� Z(d S )M�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�vzrun verbosely (default)� )�quiet�qz!run quietly (turns verbosity off))zdry-run�nzdon't actually do anything)�help�hzshow detailed help message)zno-user-cfgNz-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 ))z help-commandsNzlist all available commands)�nameNzprint package name)�version�Vzprint package version)�fullnameNzprint <package name>-<version>)�authorNzprint the author's name)�author-emailNz print the author's email address)� maintainerNzprint the maintainer's name)zmaintainer-emailNz$print the maintainer's email address)�contactNz7print the maintainer's name if known, else the author's)z contact-emailNz@print the maintainer's email address if known, else the author's)�urlNzprint the URL for this package)�licenseNz print the license of the package)�licenceNzalias for --license)�descriptionNzprint the package description)zlong-descriptionNz"print the long package description)� platformsNzprint the list of platforms)�classifiersNzprint the list of classifiers)�keywordsNzprint the list of keywords)�providesNz+print the list of packages/modules provided)�requiresNz+print the list of packages/modules required)� obsoletesNz0print the list of packages/modules made obsoletec C s g | ]}t |d ��qS �r �r )�.0�xr r r � <listcomp>� s zDistribution.<listcomp>r r Nc C sD d| _ d| _d| _| jD ]}t| |d� qt� | _| jjD ]}d| }t| |t| j|�� qi | _ d| _ d| _d| _i | _ g | _d| _i | _d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _d| _i | _i | _|r�|�d�}|dur�|d= |�� D ]\}}| � |�}|�� D ] \} } d| f|| <