관리-도구
편집 파일: _impl.cpython-312.pyc
� G��e�. � � � d dl Z d dlZd dlZd dlZd dlmZ d dlmZ d dlmZ d dl mZmZm Z ddlmZ d� Zd � Z G d � de� Z G d� d e� Z G d� de� Z G d� de� Zdd�Zdd�Zd� Z G d� d� Zy)� N)�contextmanager)�abspath)�join)�STDOUT� check_call�check_output� )�_in_proc_script_pathc �x � t |dd�� 5 }t j | |fi |�� d d d � y # 1 sw Y y xY w)N�w�utf-8��encoding)�open�json�dump)�obj�path�kwargs�fs ��/builddir/build/BUILDROOT/alt-python312-pip-23.3.1-1.el8.x86_64/opt/alt/python312/lib/python3.12/site-packages/pip/_vendor/pyproject_hooks/_impl.py� write_jsonr s8 � � �d�C�'� *� $�a�� � �#�q�#�F�#�$� $� $�s �0�9c �r � t | d�� 5 }t j |� cd d d � S # 1 sw Y y xY w)Nr r )r r �load)r r s r � read_jsonr s. � � �d�W� %� ���y�y��|�� � �s �-�6c � � e Zd ZdZd� Zy)�BackendUnavailablezEWill be raised if the backend cannot be imported in the hook process.c � � || _ y �N�� traceback��selfr! s r �__init__zBackendUnavailable.__init__ � � �"��� N��__name__� __module__�__qualname__�__doc__r$ � r&