| Server IP : 127.0.0.1 / Your IP : 216.73.216.109 Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10 System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64 User : SERVERWEB ( 0) PHP Version : 8.1.10 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/cygwin64/lib/python3.9/site-packages/setuptools/config/__pycache__/ |
Upload File : |
a
��e�C � @ s| d Z ddlZddlZddlmZ ddlmZ ddlmZm Z m
Z
mZmZm
Z
ddlmZ ddlmZmZ dd lmZ d
dlmZ d
dlmZmZ d
d
lmZ er�ddlmZ ddlm Z e�!e"�Z#ee$d�dd�Z%e$ee&d�dd�Z'd-dedd�dd�Z(d.eed d�dd�Z)d/e$ee e&ed e$d�d d!�Z*G d"d#� d#�Z+d$d%� Z,ee&d&�d'd(��Z-G d)d*� d*ej.�Z/G d+d,� d,e�Z0dS )0ac
Load setuptools configuration from ``pyproject.toml`` files.
**PRIVATE MODULE**: API reserved for setuptools internal usage only.
To read project metadata, consider using
``build.util.project_wheel_metadata`` (https://pypi.org/project/build/).
For simple scenarios, you can also try parsing the file directly
with the help of ``tomllib`` or ``tomli``.
� N)�contextmanager)�partial)�
TYPE_CHECKING�Callable�Dict�Mapping�Optional�Set� )�StrPath)� FileError�InvalidConfigError)�SetuptoolsWarning� )�expand)�_PREVIOUSLY_DEFINED�_MissingDynamic)�apply��Distribution)�Self)�filepath�returnc C sD ddl m} t| d��}|�|�W d � S 1 s60 Y d S )Nr
)�tomllib�rb)Zcompat.py310r �open�load)r r �file� r �C/usr/lib/python3.9/site-packages/setuptools/config/pyprojecttoml.py� load_file s r )�configr r c
C s� ddl m} |j�d�}t|d�r*|�� z|�| �W S |jy� } z`d|j� �}|j �
d�dkrzt�|� t�|j
� d|j � d �}t|� d
|� ��d �W Y d }~n
d }~0 0 d S )Nr )�_validate_pyprojectztrove-classifier�_disable_downloadzconfiguration error: �`�projectzinvalid pyproject.toml config: �.�
)� r"