ok
Direktori : /opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/pep517/ |
Current File : //opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/pep517/envbuild.pyo |
� Bu�_c @ 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( ( sL /opt/alt/python36/lib/python3.6/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( ( sL /opt/alt/python36/lib/python3.6/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( ( sL /opt/alt/python36/lib/python3.6/site-packages/pip/_vendor/pep517/envbuild.pyt __enter__<