관리-도구
편집 파일: _dists.cpython-311.pyc
� �܋fS � �6 � d dl Zd dlZd dlZd dlZd dlZd dlmZm Z m Z mZmZm Z mZmZ d dlmZ d dlmZmZ d dlmZ d dlmZ d dlmZmZ d dlmZmZmZm Z d d l!m"Z" d d l#m$Z$ d dl%m&Z&m'Z' dd l(m)Z)m*Z* G d� dej+ j, � � Z- G d� de� � Z,dS )� N)� Collection�Dict�Iterable�Iterator�Mapping�Optional�Sequence�cast)�Requirement)�NormalizedName�canonicalize_name)�Version)�parse)�InvalidWheel�UnsupportedWheel)�BaseDistribution�BaseEntryPoint�InfoPath�Wheel)�normalize_path)� TempDirectory)�parse_wheel�read_wheel_metadata_file� )�BasePath� get_dist_namec � � e Zd ZdZdeej ef dej ddfd�Ze de j ded edd fd �� � Z dedeej fd�Zd edee fd�ZdS )�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� info_location�returnNc �"