| Server IP : 172.67.131.151 / Your IP : 104.23.197.229 Web Server : Apache System : Linux keen-cori.18-142-40-148.plesk.page 5.15.0-1084-aws #91~20.04.1-Ubuntu SMP Fri May 2 06:59:36 UTC 2025 x86_64 User : simottodesign.com_2tntp341vs7 ( 10011) PHP Version : 8.3.31 Disable Function : opcache_get_status MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : ON Directory : /lib/python3.8/importlib/__pycache__/ |
Upload File : |
U
���g�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 ZdZdS )r zThe package was not found.N)�__name__�
__module__�__qualname__�__doc__� r r �(/usr/lib/python3.8/importlib/metadata.pyr % s c @ sV e Zd ZdZe�d�Zdd� Zedd� �Z e
dd� �Ze
d d
� �Zdd� Z
d
d� ZdS )�
EntryPointz�An entry point as defined by Python packaging conventions.
See `the packaging docs on entry points
<https://packaging.python.org/specifications/entry-points/>`_
for more information.
zF(?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 )z�Load the entry point from its definition. If only a module
is indicated by the value, return that module. Otherwise,
return the named object.
�moduleN�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'