E^ 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)extrasAttributeErrorr )epexmsgs x/builddir/build/BUILD/imunify360-venv-2.6.2/opt/imunify360/venv/lib/python3.11/site-packages/setuptools/_entry_points.pyensure_validr sb ' ' ' ' R R R R #B&'s 0+0c t | }d| dd | 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)valuegrouplinestexts r load_groupr sF Eu>>>DIIe,,,D**4000 c | j | j fS N)r name)r s r by_group_and_namer" ' s 8RWr 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/ CmC5FGGGHHIIIJr c t j d | D }t t j | S )zA Given a Distribution.entry_points, produce EntryPoints. c 3 <