Current File : //proc/self/root/lib/python3/dist-packages/setuptools/config/__pycache__/__init__.cpython-312.pyc |
�
_�d� � � � d Z ddlmZ ddlmZmZmZ ddlmZ ddl m
Z
ede� � Zd
Zdedefd
�Z
e
e
j � Z e
e
j � Zy)zVFor backward compatibility, expose main functions from
``setuptools.config.setupcfg``
� )�wraps)�Callable�TypeVar�cast� )�SetuptoolsDeprecationWarning� )�setupcfg�Fn)�bound)�parse_configuration�read_configuration�fn�returnc �J � � t � � � fd�� }t t |� S )Nc
� �� t j ddt � d�j � dt j � 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�kwargsr s ��</usr/lib/python3/dist-packages/setuptools/config/__init__.py�_wrapperz%_deprecation_notice.<locals>._wrapper sV �� �$�)�)�#���Z�q����
� &2�2:�2C�2C�1D� E
�
�
�$ �4�"�6�"�"� )r r r )r r s ` r �_deprecation_noticer s( �� �
�2�Y�#� �#�* ��H��r N)�__doc__� functoolsr �typingr r r �warningsr � r
r �__all__r r r
� r r �<module>r# sc ��� � *� *� 3� ��T��"��
7���B� �2� �4 )��)D�)D�E� �)�(�*F�*F�G� r