�
���c� � �V � d dl Z d dlZd dlZddlmZ ddlmZ ddlmZ ddl m
Z
ddlmZ ddl
mZ d � Zd
� Zd� Zde
j fd
�Ze j d� � � Ze� e� � d� � � Ze� ed� � d� � � ede
j fd�� � Zd� ZdS )� N� )�OptionError)�yield_lines)� pass_none)�metadata)�
ensure_unique)�consumec �f � | j dS # t $ r}d| � d�}t |� � |�d}~ww xY w)zR
Exercise one of the dynamic properties to trigger
the pattern match.
zProblems to parse zq.
Please ensure entry-point follows the spec: https://packaging.python.org/en/latest/specifications/entry-points/N)�extras�AttributeErrorr )�ep�ex�msgs �:/usr/lib/python3/dist-packages/setuptools/_entry_points.py�ensure_validr
sb � �
'�
� � � � ��� '� '� '�
R��
R�
R�
R� � �#���B�&�����'���s � �
0�+�0c � � 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�0� c � � | j | j fS �N)r �name)r
s r �by_group_and_namer" |