Current File : //usr/lib/python3/dist-packages/setuptools/__pycache__/_entry_points.cpython-312.pyc |
�
_�d� � �J � d dl Z d dlZd dlZddlmZ ddlmZ ddlmZ ddl m
Z
ddlmZ ddl
mZ d � Zd
� Zd� Zde
j$ fd
�Ze j( d� � Zej- e� d� � Zej- ed� d� � ede
j$ fd�� Zd� Zy)� N� )�OptionError)�yield_lines)� pass_none)�metadata)�
ensure_unique)�consumec �d � | j y# 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
sE � �
'�
� � ��� '� ��� %R�
R� � �#��B�&��'�s � � /�*�/c � � t | � }d|� d�dj |� z }t j 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 s@ � �
���E�
�u�g�S�>�D�I�I�e�,�,�D����*�*�4�0�0� c �2 � | j | j fS �N)r �name)r
s r �by_group_and_namer"