File: //usr/local/lib/python3.7/site-packages/setuptools/config/__pycache__/__init__.cpython-37.pyc
B
N��g� � @ st d Z ddlmZ ddlmZmZmZ ddlmZ ddl m
Z
eded �Zd
Zeed�dd
�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
s. t �ddt� d� j� dtj� d�� � | |�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 � �>/tmp/pip-unpacked-wheel-yrlplx0q/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