File: //snap/certbot/4965/lib/python3.12/site-packages/setuptools/__pycache__/__init__.cpython-312.pyc
�
9�h,# � �n � d Z ddlmZ ddlZddlZddlZddlmZ ddlm Z ddl
mZmZm
Z
ej j ej j! ej j# ej j# e� � dd� xZej vegz � ej( j+ d d� ddlZd
dlmZmZ d
dlmZ d
d
lmZmZ d
dl m!Z! d
dl"m#Z# d
dl$m%Z% d
dl&m'Z' ddl(Z)g d�Z* edd�� Z+dZ,ejZ Z.ejZ Z/d� Z0d d�Z1d� Z2e)jf jd j e2_ erddl(m4Z5 n& ejl e)jf jh � Z5 G d� de5� Z4d� Z7ejp fd�Z9 G d� de:� Z; ejx � y)!z@Extensions to the 'distutils' for large or complex distributions� )�annotationsN)�abstractmethod)�Mapping)�
TYPE_CHECKING�TypeVar�overload�
setuptools�_vendor� backports� )�logging�monkey)�Require)�
PackageFinder�PEP420PackageFinder)�Distribution)� Extension)�__version__)�SetuptoolsDeprecationWarning)�setupr �Commandr r r �
find_packages�find_namespace_packages� _CommandT�_Command)�boundc � � G d� dt j j � } || � }|j d�� |j rt |� y y )Nc �6 � � e Zd ZdZd� fd�Zd� fd� Zd� Z� xZS )�4_install_setup_requires.<locals>.MinimalDistributionzl
A minimal version of a distribution for supporting the
fetch_build_eggs interface.
c � �� d}t |� t |� z D �ci c] }||| ��
}}t �| � |� | j j � y c c}w )N)�dependency_links�setup_requires)�set�super�__init__�set_defaults�_disable)�self�attrs�_incl�k�filtered� __class__s ���/build/snapcraft-certbot-c9561b03ef7f16aa90eb6754ca5f17a1/parts/certbot/install/lib/python3.12/site-packages/setuptools/__init__.pyr% z=_install_setup_requires.<locals>.MinimalDistribution.__init__= sU �� �8�E�-0��Z�#�e�*�-D�E���5��8��E�H�E��G��X�&����&�&�(�� Fs �
Ac �X �� t �| � |� \ }}|dfS # t $ r |dfcY S w xY w)zAIgnore ``pyproject.toml``, they are not related to setup_requires� )r$ � _split_standard_project_metadata� Exception)r( � filenames�cfg�_tomlr- s �r. �_get_project_config_fileszN_install_setup_requires.<locals>.MinimalDistribution._get_project_config_filesD sA �� �
%�"�W�E�i�P�
��U� ��7�N�� �
%� �"�}�$�
%�s � �
)�)c � � y)zl
Disable finalize_options to avoid building the working set.
Ref #2158.
Nr0 �r( s r. �finalize_optionszE_install_setup_requires.<locals>.MinimalDistribution.finalize_optionsL s � � )r) zMapping[str, object]�return�None�N)�__name__�
__module__�__qualname__�__doc__r% r6 r9 �
__classcell__�r- s @r. �MinimalDistributionr 7 s �� � �
)� � r: rD T)�ignore_option_errors)� distutils�corer �parse_config_filesr"