관리-도구
편집 파일: wheel.cpython-36.pyc
3 �ReNz � @ s d Z ddlmZ ddlZddlZddlZddlZddlZddlZddl Z ddlZddlZddl Z ddlZddlmZ ddlmZmZ ddlmZ ddlmZ ddlmZ dd lmZ dd lmZmZmZm Z m!Z!m"Z" ddl#m$Z$m%Z% ddl&m'Z' dd l(m)Z) ddl*m+Z+m,Z, ddl-m.Z. ddl/m0Z0m1Z1 ddl2m3Z3m4Z4m5Z5m6Z6 ddl7m8Z8 ddl9m:Z:m;Z;m<Z<m=Z= ddl>m?Z?m@Z@ e8�s�ddl7mAZA n�ddlBmCZC ddlDmEZEmFZFmGZGmHZHmIZImJZJmKZKmLZLmMZMmNZNmOZOmPZPmQZQmRZRmAZA ddlmSZS ddlTmUZU ddl-mVZV ddl/mWZW eLde"�ZXeQeXeYeReZeYf f Z[G dd� deN�Z\ej]e^�Z_dLd!d"�Z`d#d$� Zad%d&� Zbd'd(� Zcd)d*� Zdd+d,� Zed-d.� Zfd/d0� ZgdMd1d2�Zhd3d4� Zid5d6� Zjd7d8� ZkG d9d:� d:el�ZmG d;d<� d<el�ZnG d=d>� d>e'�Zod?d@� ZpG dAdB� dBe�ZqdNdEdF�ZrejsdGdH� �ZtdOdIdJ�ZudS )PzGSupport for installing and building the "wheel" binary package format. � )�absolute_importN)�urlsafe_b64encode)�chain�starmap)�ZipFile)� pkg_resources)�ScriptMaker)�get_export_entry)�PY2� ensure_str�ensure_text� itervalues�reraise� text_type)�filterfalse�map)�InstallationError)�get_major_minor_version)�DIRECT_URL_METADATA_NAME� DirectUrl)�SCHEME_KEYS)�adjacent_tmp_file�replace)�captured_stdout� ensure_dir� hash_file� partition)�MYPY_CHECK_RUNNING)� current_umask�is_within_directory�2set_extracted_file_to_default_mode_plus_executable�zip_item_is_executable)�parse_wheel�$pkg_resources_distribution_for_wheel)�cast)�Message)�Any�Callable�Dict�IO�Iterable�Iterator�List�NewType�Optional�Protocol�Sequence�Set�Tuple�Unionr$ )�ZipInfo)�Distribution)�Scheme)�NamedTemporaryFileResult� RecordPathc @ s e Zd ZdZdZdZdd� ZdS )�FileNc C s d S )N� )�selfr: r: ��/builddir/build/BUILDROOT/alt-python36-pip-20.2.4-5.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/pip/_internal/operations/install/wheel.py�save` s z File.save)�__name__� __module__�__qualname__�src_record_path� dest_path�changedr= r: r: r: r<