Your IP : 3.146.65.134
o
6��f�� � @ s� d dl Z d dlZd dlZd dlmZ zd dlZW n ey$ dZY nw d dlT d dlm Z m
Z
d dlmZm
Z
mZ d dlmZ d dlmZ e�d�Zd d
� ZG dd� d�ZG d
d� d�Zdd� ZdS )� N)�message_from_file)�*)�FancyGetopt�translate_longopt)�
check_environ� strtobool�
rfc822_escape��log)�DEBUGz^[a-zA-Z]([a-zA-Z0-9_]*)$c C sP t | t�r | S t | t�s&t| �j}d|� d|� d�}t�tj|� t| �} | S )Nz
Warning: 'z' should be a list, got type '�')�
isinstance�str�list�type�__name__r
ZWARN)�valueZ fieldname�typename�msg� r �5/opt/alt/python310/lib64/python3.10/distutils/dist.py�_ensure_list s
�
r c @ sB e Zd Z g d�ZdZg d�Zdd� eD �ZddiZdHd d
�Zdd� Z dIdd�Z
dd� ZdHdd�Zdd� Z
dd� Zdd� Zdd� Zddg fdd�Zdd � Zd!d"� Zd#d$� Zd%d&� Zd'd(� Zd)d*� ZdJd+d,�ZdHd-d.�ZdKd0d1�Zejfd2d3�Zd4d5� Zd6d7� Zd8d9� Z d:d;� Z!d<d=� Z"d>d?� Z#d@dA� Z$dBdC� Z%dDdE� Z&dFdG� Z'dS )L�Distribution))�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 sF d| _ d| _d| _| jD ]}t| |d� q
t� | _| 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�}|d ur�|d= |�� D ]\}}| � |�}|�� D ]
\} }
d|
f|| <