Your IP : 3.144.30.14
U
i�f�D �
@ s� d dl Z d dlZd dlZd dlZd dlZd dlZd dlZd dlZd dlZd dl Z d dl
Z
d dlZd dlZd dl
Z
d dlmZ d dlmZ d dlmZ d dlmZ d dlmZ ddd d
ddd
dddg
ZG dd � d e�ZG dd� de
�dd��ZG dd� dej�ZG dd� d�ZG dd� d�ZG dd� de�Z G dd� d�Z!G dd� d�Z"G d d!� d!e �Z#G d"d#� d#e�Z$d$d
� Z%d%d� Z&d&d� Z'd'd� Z(d(d� Z)d)d
� Z*d*d� Z+dS )+� N)�ConfigParser)�suppress)�
import_module)�MetaPathFinder)�starmap�Distribution�DistributionFinder�PackageNotFoundError�distribution�
distributions�entry_points�files�metadata�requires�versionc @ s e Zd ZdS )r N)�__name__�
__module__�__qualname__� r r �7/opt/alt/python38/lib64/python3.8/importlib/metadata.pyr % s c @ sR e Zd Ze�d�Zdd� Zedd� �Ze dd� �Z
e dd � �Zd
d� Zdd
� Z
dS )�
EntryPointzH(?P<module>[\w.]+)\s*(:\s*(?P<attr>[\w.]+)\s*)?((?P<extras>\[.*\])\s*)?$c C sD | j �| j�}t|�d��}td |�d�p,d�d��}t�t ||�S )N�module�attr� �.)
�pattern�match�valuer �group�filter�split� functools�reduce�getattr)�selfr r Zattrsr r r �loadG s zEntryPoint.loadc C s( | j �| j�}tt�d|�d�p"d��S )Nz\w+�extrasr )r r r �list�re�finditerr )r$ r r r r r&