관리-도구
편집 파일: _in_process.cpython-38.pyc
U ��.ep � @ s0 d Z ddlmZ ddlmZ ddlZddlZddlmZ ddlZddl Z ddl Z ddlZddlZG dd� de �ZG dd � d e �ZG d d� de �Zdd � Zdd� Zdd� Zdd� ZdZdd� Zdd� Zdd� Zd(dd�Zdd� ZG dd � d e �ZG d!d"� d"e �Zd#d$� Zddddd$hZd%d&� Ze d'k�r,e� dS ))ag This is invoked in a subprocess to call the build backend hooks. It expects: - Command line args: hook_name, control_dir - Environment variables: PEP517_BUILD_BACKEND=entry.point:spec PEP517_BACKEND_PATH=paths (separated with os.pathsep) - control_dir/input.json: - {"kwargs": {...}} Results: - control_dir/output.json - {"return_val": ...} � )�glob)� import_moduleN)�joinc @ s e Zd ZdZdd� ZdS )�BackendUnavailablez&Raised if we cannot import the backendc C s || _ d S �N�� traceback��selfr � r �B/usr/lib/python3.8/site-packages/pip/_vendor/pep517/_in_process.py�__init__ s zBackendUnavailable.__init__N��__name__� __module__�__qualname__�__doc__r r r r r r s r c @ s e Zd ZdZdd� ZdS )�BackendInvalidz Raised if the backend is invalidc C s || _ d S r )�message)r r r r r r % s zBackendInvalid.__init__Nr r r r r r # s r c @ s e Zd ZdZdS )�HookMissingzARaised if a hook is missing and we are not executing the fallbackN�r r r r r r r r r ) s r c C s<