관리-도구
편집 파일: wheel.cpython-310.pyc
o ƚRek � @ s d Z ddlZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddlZddlZddl mZ ddlmZ ddlmZmZmZ ddlmZmZmZmZmZmZmZmZmZmZm Z m!Z!m"Z"m#Z#m$Z$m%Z% ddl&m'Z'm(Z( ddl)m*Z* dd l+m,Z, dd l-m.Z. ddl/m0Z0 ddl1m2Z2 dd l3m4Z4m5Z5m6Z6 ddl7m8Z8m9Z9 ddl:m;Z;m<Z< ddl=m>Z>m?Z? ddl@mAZAmBZBmCZCmDZD ddlEmFZFmGZGmHZHmIZI ddlJmKZK er�ddlmLZL G dd� deL�ZMe�NeO�ZPedeQ�ZRe#eReQe$eSeQf f ZTd[deQdeSde#eQeQf fdd�ZUdeQdeeQef fdd �ZVdeQdeWfd!d"�ZXd#edeWfd$d%�ZYd&e4de#eeQeQf eeQeQf f fd'd(�ZZd)e!eQ de eQ fd*d+�Z[d,eeT dee#eQeQeQf fd-d.�Z\d/eRdeQfd0d1�Z]d\deQd2e eQ deRfd3d4�Z^d5eeeQ d6eeReRf d7e"eR d8eeQ d9eQdeeT fd:d;�Z_d<eeQeQf deeQ fd=d>�Z`G d?d@� d@�ZaG dAdB� dB�ZbG dCdD� dDe0�ZcdEeQddfdFdG�ZdG dHdI� dIe*�Ze J J Kd]dLeQdMe'dNeQdOe<dPeWdQeWdRe e9 dSeWddfdTdU�ZfejgdVeQded fdWdX��Zh J J Kd]dLeQdNeQdOe<dVeQdPeWdQeWdRe e9 dSeWddfdYdZ�ZidS )^zGSupport for installing and building the "wheel" binary package format. � N)�urlsafe_b64encode)�Message)�chain�filterfalse�starmap)�IO� TYPE_CHECKING�Any�BinaryIO�Callable�Dict�Iterable�Iterator�List�NewType�Optional�Sequence�Set�Tuple�Union�cast)�ZipFile�ZipInfo)�ScriptMaker)�get_export_entry)�canonicalize_name)�InstallationError)�get_major_minor_version)�BaseDistribution�FilesystemWheel�get_wheel_distribution)�DIRECT_URL_METADATA_NAME� DirectUrl)�SCHEME_KEYS�Scheme)�adjacent_tmp_file�replace)�captured_stdout� ensure_dir� hash_file� partition)� current_umask�is_within_directory�2set_extracted_file_to_default_mode_plus_executable�zip_item_is_executable)�parse_wheel)�Protocolc @ s0 e Zd ZU ded<