관리-도구
편집 파일: dist.cpython-311.pyc
� ,�Reİ � �R � d gZ ddlZddlZddlZddlZddlZddlZddlZddl Zddl ZddlZddlZddl mZ ddlmZ ddlmZ ddlmZ ddlZddlZddlmZmZmZ ddlmZ dd lmZ dd lm Z ddl!m"Z"m#Z# ddl m$Z$ dd l%m&Z& ddl%m'Z' ddl(m)Z)m*Z* ddl+m,Z, ddl-m.Z. ddl/Z/ddl0Z/ddl/m1Z1 ddl2m3Z3 ddl4m5Z5m6Z6 ddl7m8Z8 ddl9Z9ddl:m;Z; ddl-m<Z< ddl-m=Z= erddl>m?Z? e@d� � e@d� � d� ZAd� ZBdeCd eCfd!�ZDd"d#d$eCd eeC fd%�ZEd"d#d$eCd eeC fd&�ZFd"d#d$eCd eeeC fd'�ZGd"d#d eeC fd(�ZHd)� ZId*� ZJd+� ZKeLeMfZNd,� ZOd-� ZPd.� ZQd/� ZRd0� ZSd1� ZTd2� ZUd3� ZVd4� ZWd5� ZXd6� ZYd7� ZZd8� Z[ e3ej\ j] � � Z^ G d9� d e^� � Z] G d:� d;e.� � Z_dS )<�Distribution� N)� strtobool)�DEBUG��translate_longopt)�iglob)�List�Optional� TYPE_CHECKING)�Path)�defaultdict)�message_from_file)�DistutilsOptionError�DistutilsSetupError)� rfc822_escape)� packaging)�ordered_set)�unique_everseen� partition� )�metadata)�SetuptoolsDeprecationWarning)�windows_support)� get_unpatched)�setupcfg� pyprojecttoml)�ConfigDiscovery��version)�_reqs)� _entry_points)�Messagez&setuptools.extern.packaging.specifiersz#setuptools.extern.packaging.versionc �T � t j dt � � t | � � S )NzDo not call this function)�warnings�warn�DistDeprecationWarningr )�clss ��/builddir/build/BUILDROOT/alt-python311-setuptools-65.6.3-2.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/setuptools/dist.py�_get_unpatchedr) 8 s$ � ��M�-�/E�F�F�F������ c �b � t | dd � � }|�t j d� � }|| _ |S )N�metadata_version�2.1)�getattrr �Versionr, )�self�mvs r( �get_metadata_versionr2 = s5 � � ��)�4� 0� 0�B� �z� �_�U� #� #�� "��� �Ir* �content�returnc �< � | � � � }t |� � dk r|d � � � S d� |d � � � t j d� |dd� � � � � f� � S )zFReverse RFC-822 escaping by removing leading whitespaces from content.r r � N)� splitlines�len�lstrip�join�textwrap�dedent)r3 �liness r( �rfc822_unescaper>