관리-도구
편집 파일: wheel.cpython-38.pyc
U ʗRe�j � @ s� d Z ddlZddlZddlZddlZddlZddlZddlZddl Z ddl Z ddlZddlZddl mZ ddlmZ ddlmZmZmZ ddlmZmZmZmZmZmZmZmZmZmZm Z m!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/ ddl0m1Z1 ddl2m3Z3 dd l4m5Z5m6Z6m7Z7 ddl8m9Z9m:Z: ddl;m<Z<m=Z= ddl>m?Z?m@Z@ ddlAmBZBmCZCmDZDmEZE ddlFmGZGmHZHmIZImJZJ ddlKmLZL e�r�ddlmMZM G dd� deM�ZNe�OeP�ZQe deR�ZSe$eSeRe%eTeRf f ZUdQeReTe$eReRf d�dd�ZVeReeRef d�dd�ZWeReXd�d d!�ZYeeXd"�d#d$�ZZe5e$eeReRf eeReRf f d%�d&d'�Z[e"eR e!eR d(�d)d*�Z\eeU ee$eReReRf d+�d,d-�Z]eSeReRd.�d/d0�Z^eReReSd1�d2d3�Z_eeeR eeSeSf e#eS eeR eReeU d4�d5d6�Z`eeReRf eeR d7�d8d9�ZaG d:d;� d;�ZbG d<d=� d=�ZcG d>d?� d?e1�ZdeRdd@�dAdB�ZeG dCdD� dDe+�ZfdReRe(eRe=eXeXe!e: eXddG� dHdI�ZgejheRedJ dK�dLdM��ZidSeReRe=eReXeXe!e: eXddN� dOdP�ZjdS )TzGSupport for installing and building the "wheel" binary package format. � N)�urlsafe_b64encode)�Message)�chain�filterfalse�starmap)�IO� TYPE_CHECKING�Any�BinaryIO�Callable�Dict� Generator�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 @ s4 e Zd ZU ded<