관리-도구
편집 파일: wheel.cpython-38.pyc
U &?�f�k � @ 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&m'Z' ddl(m)Z)m*Z* ddl+m,Z, dd l-m.Z. dd l/m0Z0 ddl1m2Z2 ddl3m4Z4 dd l5m6Z6m7Z7m8Z8 ddl9m:Z:m;Z; ddl<m=Z=m>Z> ddl?m@Z@mAZA ddlBmCZCmDZDmEZEmFZF ddlGmHZHmIZImJZJmKZK ddlLmMZM e�r�G dd� de"�ZNe�OeP�ZQe deR�ZSe%eSeRe&eTeRf f ZUdPeReTe%eReRf d�dd�ZVeReeRef d�dd�ZWeReXd�dd �ZYeeXd!�d"d#�ZZe6e%eeReRf eeReRf f d$�d%d&�Z[e#eR e!eR d'�d(d)�Z\eeU ee%eReReRf d*�d+d,�Z]eSeReRd-�d.d/�Z^eReReSd0�d1d2�Z_eeeR eeSeSf e$eS eeR eReeU d3�d4d5�Z`eeReRf eeR d6�d7d8�ZaG d9d:� d:�ZbG d;d<� d<�ZcG d=d>� d>e2�ZdeRdd?�d@dA�ZeG dBdC� dCe,�ZfdQeRe)eRe>eXeXe!e; eXddF� dGdH�ZgejheRedI dJ�dKdL��ZidReReRe>eReXeXe!e; eXddM� dNdO�ZjdS )SzGSupport 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�Protocol�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)� StreamWrapper� ensure_dir� hash_file� partition)� current_umask�is_within_directory�2set_extracted_file_to_default_mode_plus_executable�zip_item_is_executable)�parse_wheelc @ s4 e Zd ZU ded<