관리-도구
편집 파일: wheel_builder.cpython-311.pyc
� �Re�/ � �X � d Z ddlZddlZddlZddlZddlmZmZm Z m Z mZmZ ddl mZmZ ddlmZmZ ddlmZ ddlmZmZ ddlmZmZ dd lmZ dd lmZ ddlm Z ddl!m"Z" dd l#m$Z$ ddl%m&Z& ddl'm(Z( ddl)m*Z*m+Z+m,Z, ddl-m.Z. ddl/m0Z0 ddl1m2Z2 ddl3m4Z4 ddl5m6Z6 ej7 e8� � Z9 ej: dej; � � Z<ee&ge=f Z>ee e& e e& f Z?de@de=fd�ZAde&de=de>de=fd�ZBde&de=fd�ZCde&de>de=fd�ZDde&dee= fd �ZEde&d!ede@fd"�ZFd#ede=fd$�ZGde&d%e@ddfd&�ZHde&d'e@d(e=d)e e@ d*e e@ d+e=dee@ fd,�ZIde&d'e@d)e e@ d*e e@ d+e=dee@ fd-�ZJde&d*e e@ de=fd.�ZKd/e e& d!ed(e=d)e e@ d*e e@ de?fd0�ZLdS )1z;Orchestrator for building wheels from InstallRequirements. � N)�Any�Callable�Iterable�List�Optional�Tuple)�canonicalize_name�canonicalize_version)�InvalidVersion�Version)� WheelCache)�InvalidWheelFilename�UnsupportedWheel)�FilesystemWheel�get_wheel_distribution)�Link)�Wheel)�build_wheel_pep517)�build_wheel_editable)�build_wheel_legacy)�InstallRequirement)� indent_log)� ensure_dir� hash_file�is_wheel_installed)�make_setuptools_clean_args)�call_subprocess)� TempDirectory)�path_to_url)�vcsz([a-z0-9_.]+)-([a-z0-9_.!+-]+)�s�returnc �P � t t � | � � � � S )zjDetermine whether the string looks like an egg_info. :param s: The string to parse. E.g. foo-2.1 )�bool�_egg_info_re�search)r! s ��/builddir/build/BUILDROOT/alt-python311-pip-21.3.1-3.el8.x86_64/opt/alt/python311/lib/python3.11/site-packages/pip/_internal/wheel_builder.py�_contains_egg_infor( &