Файловый менеджер - Редактировать - /usr/lib/python3/dist-packages/pip/_internal/operations/build/__pycache__/wheel_legacy.cpython-310.pyc
Ðазад
o !��h� � @ s� d dl Z d dlZd dlmZmZ d dlmZ d dlm Z d dl mZmZ e � e�Zdee dedefd d �Zdee ded edee dedee fdd�Zd edededee dee dedee fdd�ZdS )� N)�List�Optional)�open_spinner)� make_setuptools_bdist_wheel_args)�call_subprocess�format_command_args�command_args�command_output�returnc C sb t | �}d|� d�}|s|d7 }|S t�� tjkr|d7 }|S |�d�s(|d7 }|d|� �7 }|S )z'Format command information for logging.zCommand arguments: � zCommand output: Nonez'Command output: [use --verbose to show]zCommand output: )r �logger�getEffectiveLevel�logging�DEBUG�endswith)r r �command_desc�text� r �M/usr/lib/python3/dist-packages/pip/_internal/operations/build/wheel_legacy.py�format_command_result s � �r �names�temp_dir�namec C st t | �} | sd�|�}|t||�7 }t�|� dS t| �dkr1d�|| �}|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 ) �sorted�formatr r �warning�len�os�path�join)r r r r r �msgr r r �get_legacy_build_wheel_path s � r"