File: D:/Python311/Lib/site-packages/setuptools/__pycache__/_entry_points.cpython-311.pyc
�
�nc� � �J � d dl Z d dlZd dlZddlmZ ddlmZ ddlmZ ddl m
Z
ddlmZ d� Z
d � Zd
� Zdej fd�Ze j d
� � � Ze� e� � d� � � Ze� ed� � d� � � edej fd�� � Zd� ZdS )� N� )�yield_lines)� pass_none)�metadata)�
ensure_unique)�consumec � � | j dS )zR
Exercise one of the dynamic properties to trigger
the pattern match.
N)�extras��eps �:D:\Python311\Lib\site-packages\setuptools/_entry_points.py�ensure_validr s � �
�I�I�I�I� c � � t | � � }d|� d�d� |� � z }t j � |� � S )zf
Given a value of an entry point or series of entry points,
return each as an EntryPoint.
�[�]
�
)r �joinr �EntryPoints�
_from_text)�value�group�lines�texts r
�
load_groupr sF � �
����E��u�>�>�>�D�I�I�e�,�,�,�D���*�*�4�0�0�0r c � � | j | j fS �N)r �namer s r
�by_group_and_namer s � �
�8�R�W��r �epsc �r � t t t t | t �� � � � � � | S )zM
Ensure entry points are unique by group and name and validate each.
��key)r �mapr r r �r s r
�validater&