Файловый менеджер - Редактировать - /home/digitalm/venv/lib/python3.7/site-packages/setuptools/__pycache__/_entry_points.cpython-37.pyc
Назад
B �5�g� � @ s� d dl Z d dlZd dlZddlmZ ddlmZ ddlmZ 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� )�OptionError)�yield_lines)� pass_none)�metadata)� ensure_unique)�consumec C sH y | j W n8 tk rB } zd| � d�}t|�|�W dd}~X Y nX dS )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�msg� r �@/tmp/pip-install-251nq386/setuptools/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. �[z] � )r �joinr �EntryPoints� _from_text)�value�group�lines�textr r r � load_group s r c C s | j | jfS )N)r �name)r r r r �by_group_and_name'