OwlCyberSecurity - MANAGER
Edit File: __init__.cpython-38.pyc
U �1^�F � @ s� d dl mZmZ d dlZd dlZd dlZd dlZd dlZd dlZd dl Z d dl Z d dlZd dlZd dl Z d dlZddlmZmZmZmZmZmZmZmZmZmZmZmZmZmZ d dlmZ d dlm Z e!Z"ddd d ddd dddg Z#G dd � d e�Z$G dd� dee�%dd��Z&G dd� dej'�Z(G dd� d�Z)G dd� d�Z*G dd� de�Z+G dd� d�Z,G dd� d�Z-eG d d!� d!ee+��Z.G d"d#� d#e*�Z/d$d � Z0d%d� Z1d&d� Z2d'd� Z3d(d� Z4d)d � Z5d*d� Z6e3e7�Z8dS )+� )�unicode_literals�absolute_importN� )�install� NullFinder�ConfigParser�suppress�map�FileNotFoundError�IsADirectoryError�NotADirectoryError�PermissionError�pathlib�ModuleNotFoundError�MetaPathFinder�email_message_from_string� PyPy_repr)� import_module)�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/dist-packages/importlib_metadata/__init__.pyr 5 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&