관리-도구
편집 파일: wheel_builder.cpython-311.pyc
� �Dg. � � � d Z ddlZddlZddlZddlZddlmZmZm Z m Z ddlmZm Z ddlmZmZ ddlmZ ddlmZmZ ddlmZmZ dd lmZ dd lmZ ddlmZ ddlm Z dd l!m"Z" ddl#m$Z$ ddl%m&Z& ddl'm(Z(m)Z) ddl*m+Z+ ddl,m-Z- ddl.m/Z/ ddl0m1Z1 ddl2m3Z3 ej4 e5� � Z6 ej7 dej8 � � Z9e ee$ ee$ f Z:de;de<fd�Z=de$de<de<fd�Z>de$de<fd�Z?de$de<fd�Z@de$de e< fd�ZAde$d ede;fd!�ZBde$d"e;ddfd#�ZCde$d$e;d%e<dⅇ d'ee; d(e<de e; fd)�ZDde$d$e;dⅇ d'ee; d(e<de e; fd*�ZEde$d'ee; de<fd+�ZFd,ee$ d ed%e<dⅇ d'ee; de:fd-�ZGdS ).z;Orchestrator for building wheels from InstallRequirements. � N)�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)�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/BUILD/imunify360-venv-2.4.0/opt/imunify360/venv/lib/python3.11/site-packages/pip/_internal/wheel_builder.py�_contains_egg_infor% % s � � ��#�#�A�&�&�'�'�'� �req� need_wheelc � � | j rdS | j r$|r t � d| j � � dS |rdS | j sdS | j r| j S dS )zBReturn whether an InstallRequirement should be built into a wheel.Fz(Skipping %s, due to already being wheel.T)� constraint�is_wheel�logger�info�name� source_dir�editable�supports_pyproject_editable)r'