%PDF- %PDF-
| Direktori : /snap/certbot/5911/lib/python3.12/site-packages/setuptools/__pycache__/ |
| Current File : //snap/certbot/5911/lib/python3.12/site-packages/setuptools/__pycache__/_discovery.cpython-312.pyc |
�
�h�jA � �( � d dl Z d dlZd dlZd� Zd� Zy)� Nc � � t j j | � j j }|D �ch c]3 }t
|t � r!|d j dk( r|d j ��5 c}S # t
$ r d}Y �Lw xY wc c}w )N� r �extra� ) � packaging�requirements�Requirement�marker�_markers�AttributeError�
isinstance�tuple�value)�dep�markersr
s �Q/root/parts/certbot/install/lib/python3.12/site-packages/setuptools/_discovery.py�extras_from_depr s� � ���(�(�4�4�S�9�@�@�I�I��
����f�e�$������G�)C� �q� ���� �� � �����s �3A4 �8B�4B�Bc �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 �set)�depss r �extras_from_depsr s&