관리-도구
편집 파일: _entry_points.cpython-311.pyc
� �܋f � �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 �t � | j dS # t t f$ 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�AttributeError�AssertionErrorr )�ep�ex�msgs �O/opt/cloudlinux/venv/lib64/python3.11/site-packages/setuptools/_entry_points.py�ensure_validr sg � � '� � � � � ���N�+� '� '� '� R�� R� R� R� � �#���B�&����� '���s � �7�2�7c � � 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# ( 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* , s/ � � �C��m�C�5F�G�G�G�H�H�I�I�I��Jr c � � t j � d� | � � � D � � � � }t t j |� � � � S )zA Given a Distribution.entry_points, produce EntryPoints. c 3 �<