Hacked By AnonymousFox
a
R�f>I � @ 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 g d�ZG dd � d e�ZG d
d� de
�dd
��ZG dd� dej�ZG dd� d�ZG dd� d�ZG dd� de�Z G dd� d�Z!G dd� d�Z"G dd� de �Z#G dd� de�Z$dd� 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/python39/lib64/python3.9/importlib/metadata.pyr % s r c @ sj e Zd Ze�d�Zdd� Zedd� �Zedd� �Z edd � �Z
ed
d� �Zedd
� �Z
dd� Zdd� ZdS )�
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 �attrsr r r �loadP s zEntryPoint.loadc C s | j �| j�}|�d�S )Nr �r r r r �r$ r r r r r Z s zEntryPoint.modulec C s | j �| j�}|�d�S )Nr r'