Your IP : 18.224.60.132
�
�Rec @ s� d Z d d l Z d d l Z d d l m Z d d l Z d d l m Z d d l Z d d l m
Z
d d l m Z d d l
m Z m Z e j e � Z d � Z d
e f d � � YZ d d � Z d d
� Z d S( sI Build wheels/sdists by installing build deps to a temporary environment.
i����N( t toml( t
check_call( t get_paths( t mkdtempi ( t Pep517HookCallert
LoggerWrapperc C s[ t t j j | d � � � } t j | � } Wd QX| d } | d | d | j d � f S( Ns pyproject.tomls build-systemt requiress
build-backends backend-path( t opent ost patht joinR t loadt get( t
source_dirt ft pyproject_datat buildsys( ( 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/envbuild.pyt _load_pyproject s
t BuildEnvironmentc B s; e Z d Z d Z e d � Z d � Z d � Z d � Z RS( s� Context manager to install build deps in a simple temporary environment
Based on code I wrote for pip, which is MIT licensed.
c C s
| | _ d S( N( t _cleanup( t selft cleanup( ( 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/envbuild.pyt __init__9 s c C sT t d d � | _ t j d | j � t j j d d � | _ t j j d d � | _ t j
d k rj d n d } t | d i | j d 6| j d
6�} | d } | j r� | t j | j t j d <n | t j t j
t j d <| d | d
k r| d } n | d t j | d
} | j rC| t j | j t j d <n
| t j d <| S( Nt prefixs pep517-build-env-s Temporary build environment: %st PATHt
PYTHONPATHt ntt posix_prefixt varst baset platbaset scriptst purelibt platlib( R R t logt infoR t environR t Nonet save_patht save_pythonpatht nameR t pathsept defpath( R t install_schemet install_dirsR t lib_dirs( ( 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/envbuild.pyt __enter__<