File: //snap/certbot/4965/lib/python3.12/site-packages/setuptools/__pycache__/_discovery.cpython-312.pyc
�
9�hD � �( � d dl Z d dlZd dlZd� Zd� Zy)� Nc � � t j j | � j j }t
d� |D � � S # t
$ r d}Y �w xY w)N� c 3 �~ K � | ]5 }t |t � r#|d j dk( r|d j �� �7 y�w)r �extra� N)�
isinstance�tuple�value)�.0�markers ��/build/snapcraft-certbot-c9561b03ef7f16aa90eb6754ca5f17a1/parts/certbot/install/lib/python3.12/site-packages/setuptools/_discovery.py� <genexpr>z"extras_from_dep.<locals>.<genexpr>
s9 � �� � ���f�e�$������G�)C� �q� ����s �;=)� packaging�requirements�Requirementr �_markers�AttributeError�set)�dep�markerss r
�extras_from_depr s[ � ���(�(�4�4�S�9�@�@�I�I�� � ��� � �� � ����s �3A �A�Ac �x � t j t j t t
| � t
� � S )a?
>>> extras_from_deps(['requests'])
set()
>>> extras_from_deps(['pytest; extra == "test"'])
{'test'}
>>> sorted(extras_from_deps([
... 'requests',
... 'pytest; extra == "test"',
... 'pytest-cov; extra == "test"',
... 'sphinx; extra=="doc"']))
['doc', 'test']
)� functools�reduce�operator�or_�mapr r )�depss r
�extras_from_depsr s&