ó ïRec @ s˜ d d l Z d d l m Z d d l Z d d l m Z m Z m Z d d l Z d d l m Z m Z m Z d d l Z d d l m Z d d l m Z y d d l j Z d „ Z Wn e k rÖ e d „ ƒ Z n Xe d „ ƒ Z d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d e f d „ ƒ YZ d d d „ Z d d d „ Z d „ Z d e! f d „ ƒ YZ" d e j# f d „ ƒ YZ$ d S( iÿÿÿÿN( t contextmanager( t dirnamet abspatht join( t check_callt check_outputt STDOUT( t mkdtempi ( t compatc C s t j t d ƒ S( Ns _in_process.py( t resourcest patht __package__( ( ( sŠ /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyt _in_proc_script_path s c c s t t t t ƒ ƒ d ƒ Vd S( Ns _in_process.py( t pjoinR R t __file__( ( ( sŠ /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyR s c c s' t ƒ } z | VWd t j | ƒ Xd S( N( R t shutilt rmtree( t td( ( sŠ /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyt tempdir s t BackendUnavailablec B s e Z d Z d „ Z RS( sE Will be raised if the backend cannot be imported in the hook process.c C s | | _ d S( N( t traceback( t selfR ( ( sŠ /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyt __init__# s ( t __name__t __module__t __doc__R ( ( ( sŠ /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyR ! s t BackendInvalidc B s e Z d Z d „ Z RS( s) Will be raised if the backend is invalid.c C s | | _ | | _ | | _ d S( N( t backend_namet backend_patht message( R R R R ( ( sŠ /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyR ) s ( R R R R ( ( ( sŠ /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyR ' s t HookMissingc B s e Z d Z d „ Z RS( s Will be raised on missing hooks.c C s# t t | ƒ j | ƒ | | _ d S( N( t superR R t hook_name( R R ( ( sŠ /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyR 1 s ( R R R R ( ( ( sŠ /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyR / s t UnsupportedOperationc B s e Z d Z d „ Z RS( sD May be raised by build_sdist if the backend indicates that it can't.c C s | | _ d S( N( R ( R R ( ( sŠ /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyR 8 s ( R R R R ( ( ( sŠ /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyR! 6 s c C s? t j j ƒ } | r% | j | ƒ n t | d | d | ƒd S( s5 The default method of calling the wrapper subprocess.t cwdt envN( t ost environt copyt updateR ( t cmdR" t extra_environR# ( ( sŠ /builddir/build/BUILDROOT/alt-python27-pip-20.2.4-5.el8.x86_64/opt/alt/python27/lib/python2.7/site-packages/pip/_vendor/pep517/wrappers.pyt default_subprocess_runner<