Your IP : 13.58.53.112
�Rem � @ s d d l Z d d l Z d d g Z y d d l m Z m Z Wn4 e k
rt d d l m Z m Z d d � Z Yn Xy d d l m
Z
Wn@ e k
r� d d l Z d d l Z Gd d � d e � Z
Yn Xe j
Z d e j d d � k o� d k n Z e rd
d � Z d S)� N�get_config_vars�get_path)r r )r �get_python_libc C s( | d k r t d � � t | d k � S)N�platlib�purelibzName must be purelib or platlib)r r )�
ValueErrorr )�name� r ��/builddir/build/BUILDROOT/alt-python35-setuptools-36.3.0-4.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/setuptools/py31compat.pyr s )�TemporaryDirectoryc @ s: e Z d Z d Z d d � Z d d � Z d d � Z d S) r z�
Very simple temporary directory context manager.
Will try to delete afterward, but will also ignore OS and similar
errors on deletion.
c C s d | _ t j � | _ d S)N)r �tempfile�mkdtemp)�selfr r r
�__init__ s zTemporaryDirectory.__init__c C s | j S)N)r )r r r r
� __enter__$ s zTemporaryDirectory.__enter__c C s9 y t j | j d � Wn t k
r+ Yn Xd | _ d S)NT)�shutil�rmtreer �OSError)r �exctypeZexcvalueZexctracer r r
�__exit__'