ruạṛ
a �u:j� � @ s� d dl Z d dlZd dlZd dlmZ d dlmZ d dlmZ ddl m Z ddlmZ ddl mZ d d � Zdd� Zd d� Ze jd�dd�Ze jdd� �Ze�e�dd� �Ze�ed�dd� � ee jd�dd��Zdd� ZdS )� N)� pass_none)�yield_lines)�consume� )�metadata)� ensure_unique)�OptionErrorc C sN z | j W n> ttfyH } z"d| � d�}t|�|�W Y d}~n d}~0 0 dS )z� Exercise one of the dynamic properties to trigger the pattern match. This function is deprecated in favor of importlib_metadata 8.7 and Python 3.14 importlib.metadata, which validates entry points on construction. 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�msg� r �K/opt/bart/bart_venv/lib/python3.9/site-packages/setuptools/_entry_points.py�ensure_valid s �r c C s* t | �}d|� d�d�|� }tj�|�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�textr r r � load_group"