관리-도구
편집 파일: wrappers.cpython-310.pyc
o ƚReu4 � @ s d dl Z d dlmZ d dlZd dlmZmZ d dlZd dl m Z mZmZ d dl Z d dlmZ ddlmZ ddlmZ g d �Zed d� �ZG dd � d e�ZG dd� de�ZG dd� de�ZG dd� de�Zddd�Zddd�Zdd� ZG dd� de�ZG dd� de j �Z!dS )� N)�contextmanager)�abspath�join)� check_call�check_output�STDOUT)�mkdtemp� )�compat)�_in_proc_script_path)�BackendUnavailable�BackendInvalid�HookMissing�UnsupportedOperation�default_subprocess_runner�quiet_subprocess_runner�Pep517HookCallerc c s, � t � } z| V W t�| � d S t�| � w �N)r �shutil�rmtree)�td� r ��/builddir/build/BUILDROOT/alt-python310-pip-21.3.1-3.el8.x86_64/opt/alt/python310/lib/python3.10/site-packages/pip/_vendor/pep517/wrappers.py�tempdir s �r c @ � e Zd ZdZdd� ZdS )r zEWill be raised if the backend cannot be imported in the hook process.c C � || _ d S r �� traceback��selfr r r r �__init__# � zBackendUnavailable.__init__N��__name__� __module__�__qualname__�__doc__r r r r r r ! � r c @ r )r z)Will be raised if the backend is invalid.c C s || _ || _|| _d S r ��backend_name�backend_path�message)r r) r* r+ r r r r ) s zBackendInvalid.__init__Nr"