Uname : Linux premium36.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
Soft : LiteSpeed
Ip : 198.54.115.237
Port : 443
~
/
opt
/
alt
/
python37
/
lib
/
python3.7
/
site-packages
/
pip
/
_internal
/
operations
/
build
/
__pycache__
[ HOME ]
Exec
Submit
File Name : wheel_legacy.cpython-37.pyc
B ��Re � @ s� d dl Z d dlZd dlmZ d dlmZ d dlmZm Z m Z d dlmZ er`d dl mZmZmZ e �e�Zdd� Zd d � Zdd� ZdS ) � N)�open_spinner)� make_setuptools_bdist_wheel_args)�LOG_DIVIDER�call_subprocess�format_command_args)�MYPY_CHECK_RUNNING)�List�Optional�Textc C s^ t | �}d�|�}|s |d7 }n:t�� tjkr8|d7 }n"|�d�sJ|d7 }|d�|t�7 }|S )z'Format command information for logging.zCommand arguments: {} zCommand output: Nonez'Command output: [use --verbose to show]� zCommand output: {}{})r �format�logger�getEffectiveLevel�logging�DEBUG�endswithr )�command_args�command_output�command_desc�text� r ��/builddir/build/BUILDROOT/alt-python37-pip-20.2.4-6.el8.x86_64/opt/alt/python37/lib/python3.7/site-packages/pip/_internal/operations/build/wheel_legacy.py�format_command_result s r c C st t | �} | s2d�|�}|t||�7 }t�|� dS t| �dkrbd�|| �}|t||�7 }t�|� tj�|| d �S )z>Return the path to the wheel in the temporary build directory.z1Legacy build of wheel for {!r} created no files. N� zZLegacy build of wheel for {!r} created more than one file. Filenames (choosing first): {} r ) �sortedr r r �warning�len�os�path�join)�names�temp_dir�namer r �msgr r r �get_legacy_build_wheel_path* s r$ c C s� t ||||d�}d�| �}t|��l}t�d|� yt|||d�} W n* tk rl |�d� t�d| � dS X t � |�} t| || || d�}|S Q R X dS ) z�Build one unpacked package using the "legacy" build process. Returns path to wheel if successfully built. Otherwise, returns None. )�global_options� build_options�destination_dirz Building wheel for {} (setup.py)zDestination directory: %s)�cwd�spinner�errorzFailed building wheel for %sN)r r! r"