File: //snap/certbot/4965/lib/python3.12/site-packages/setuptools/__pycache__/installer.cpython-312.pyc
�
9�h� � �� � d dl mZ d dlZd dlZd dlZd dlZd dlZd dlZd dlZ d dl
Z ddlmZ ddl
mZ ddlmZ ddlmZ d dlmZ d d lmZ d
� Zd� Zd� Zdd
�Zd� Zd� Zd� Zd� Z G d� de� Zy)� )�annotationsN� )�_reqs)�metadata)�SetuptoolsDeprecationWarning)�Wheel)�log)�DistutilsErrorc �v � t | t � r| j � S t | t t f� sJ �| S )z8Ensure find-links option end-up being a list of strings.)�
isinstance�str�split�tuple�list)�
find_linkss ��/build/snapcraft-certbot-c9561b03ef7f16aa90eb6754ca5f17a1/parts/certbot/install/lib/python3.12/site-packages/setuptools/installer.py�_fixup_find_linksr s5 � ��*�c�"����!�!��j�5�$�-�0�0�0��� c �X � t j � t | � t | |� S )zLFetch an egg needed for building.
Use pip/wheel to fetch/build a wheel.)�_DeprecatedInstaller�emit�_warn_wheel_not_available�_fetch_build_egg_no_warn)�dist�reqs r �fetch_build_eggr s% � � �����d�#�#�D�#�.�.r c �P � � t � fd�t j � D � � S )Nc 3 �6 �K � | ] }t |�� �� � y �w�N)�_dist_matches_req)�.0r r s �r � <genexpr>z_present.<locals>.<genexpr>( s �� �� �Q�� ��s�+�Q�s �)�anyr �
distributions�r s `r �_presentr&