PATH:
opt
/
imunify360
/
venv
/
lib
/
python3.11
/
site-packages
/
pip
/
_internal
/
metadata
/
importlib
/
__pycache__
/
Editing: _dists.cpython-311.pyc
� L�i� � �Z � d dl mZ d dlZd dlZd dlZd dlZd dlm Z m Z mZmZm Z d dlmZ d dlmZ d dlmZ d dlmZmZ d dlmZ d d lmZ d d lmZmZ d dlmZm Z m!Z!m"Z" d dl#m$Z$ d d l%m&Z& d dl'm(Z( d dl)m*Z*m+Z+ ddl,m-Z-m.Z.m/Z/m0Z0 G d� dej1 j2 � � Z3 G d� de� � Z2dS )� )�annotationsN)� Collection�Iterable�Iterator�Mapping�Sequence)�PathLike)�cast)�Requirement)�NormalizedName�canonicalize_name)�Version)�parse)�InvalidWheel�UnsupportedWheel)�BaseDistribution�BaseEntryPoint�InfoPath�Wheel)�normalize_path)�get_requirement)� TempDirectory)�parse_wheel�read_wheel_metadata_file� )�BadMetadata�BasePath�get_dist_canonical_name�*parse_name_and_version_from_info_directoryc �J � e Zd ZdZdd�Zedd�� � Zdd�Zdd�Zdd�Z dS )�WheelDistributiona� An ``importlib.metadata.Distribution`` read from a wheel. Although ``importlib.metadata.PathDistribution`` accepts ``zipfile.Path``, its implementation is too "lazy" for pip's needs (we can't keep the ZipFile handle open for the entire lifetime of the distribution object). This implementation eagerly reads the entire metadata directory into the memory instead, and operates from that. �files�%Mapping[pathlib.PurePosixPath, bytes]� info_location�pathlib.PurePosixPath�return�Nonec �"