o
    Ee                     @   sv   d Z ddlmZ ddlmZmZmZ ddlmZ ddl	m
Z
 eded	Zd
ZdedefddZee
jZee
jZdS )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   fdd}tt|S )Nc               
      s2   t ddt d j dtj d  | i |S )NzDeprecated 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    [/var/www/bmteknikk.ddns.net/venv/lib/python3.10/site-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    
