Uname : Linux server1.cgrithy.com 3.10.0-1160.95.1.el7.x86_64 #1 SMP Mon Jul 24 13:59:37 UTC 2023 x86_64
Soft : Apache
Ip : 203.161.60.200
Port : 443
~
/
opt
/
alt
/
python311
/
lib64
/
python3.11
/
distutils
/
__pycache__
[ HOME ]
Exec
Submit
dist.cpython-311.pyc
� �,d�� � � � d Z ddlZddlZddlZddlmZ ddlZn # e$ r dZY nw xY wddlT ddl m Z mZ ddlm Z mZmZ ddlmZ ddlmZ ej d � � Zd � Z G d� d� � Z G d � d� � Zd� 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 �� � t | t � � rn`t | t � � sKt | � � j }d|� d|� d�}t j t j |� � t | � � } | S )Nz Warning: 'z' should be a list, got type '�')� isinstance�str�list�type�__name__r �WARN)�value� fieldname�typename�msgs �5/opt/alt/python311/lib64/python3.11/distutils/dist.py�_ensure_listr su � ��%���� � � ��t� $� $� ���;�;�'��O�9�O�O�H�O�O�O������#�����U�����L� c � � e Zd ZdZg d�ZdZg d�Zd� eD � � ZddiZd*d �Z d � Z d+d�Zd � Zd*d�Z d� Zd� Zd� Zd� Zddg fd�Zd� Zd� Zd� Zd� Zd� Zd� Zd,d�Zd*d�Zd-d�Zej fd�Zd � Zd!� Z d"� Z!d#� Z"d$� Z#d%� Z$d&� Z%d'� Z&d(� Z'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�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 �8 � g | ]}t |d � � ��S �r �r )�.0�xs r � <listcomp>zDistribution.<listcomp>� s% � �M�M�M��-�a��d�3�3�M�M�Mr r! r Nc �� � d| _ d| _ d| _ | j D ]}t | |d� � �t � � | _ | j j D ]+}d|z }t | |t | j |� � � � �,i | _ d| _ d| _ d| _ i | _ g | _ d| _ i | _ d| _ d| _ d| _ d| _ d| _ d| _ d| _ d| _ d| _ d| _ d| _ i | _ i | _ |�r�|� d� � }|�S|d= |� � � D ];\ }}| � |� � }|� � � D ]\ } } d| f|| <