File: //usr/local/lib/python3.10/dist-packages/setuptools/config/__pycache__/__init__.cpython-310.pyc
o
��h� � @ sv d Z ddlmZ ddlmZmZmZ ddlmZ ddl m
Z
eded �Zd
Zdedefd
d�Z
e
e
j�Ze
e
j�ZdS )zVFor backward compatibility, expose main functions from
``setuptools.config.setupcfg``
� )�wraps)�Callable�TypeVar�cast� )�SetuptoolsDeprecationWarning� )�setupcfg�Fn)�bound)�parse_configuration�read_configuration�fn�returnc s t � �� fdd��}tt|�S )Nc
s2 t �ddt� d� j� dtj� d�� � | i |��S )NzDeprecated API usage.zZ
As setuptools moves its configuration towards `pyproject.toml`,
`�.zG` became deprecated.
For the time being, you can use the `a� ` module
to access a backward compatible API, but this module is provisional
and might be removed in the future.
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 ``configparser``.
)r �emit�__name__r )�args�kwargs�r � �E/usr/local/lib/python3.10/dist-packages/setuptools/config/__init__.py�_wrapper s ����z%_deprecation_notice.<locals>._wrapper)r r r
)r r r r r �_deprecation_notice s
r N)�__doc__� functoolsr �typingr r r �warningsr � r r
�__all__r r
r r r r r �<module> s