Your IP : 3.145.89.181


Current Path : /opt/alt/python36/lib/python3.6/site-packages/setuptools/__pycache__/
Upload File :
Current File : //opt/alt/python36/lib/python3.6/site-packages/setuptools/__pycache__/py31compat.cpython-36.pyc

3

K�Re��@s�ddgZyddlmZmZWn,ek
rHddlmZmZdd�ZYnXyddlmZWn4ek
r�ddl	Z	ddlZGdd	�d	e
�ZYnXdS)
�get_config_vars�get_path�)rr)r�get_python_libcCs|dkrtd��t|dk�S)N�platlib�purelibzName must be purelib or platlib)rr)�
ValueErrorr)�name�r	��/builddir/build/BUILDROOT/alt-python36-setuptools-38.5.2-7.el8.x86_64/opt/alt/python36/lib/python3.6/site-packages/setuptools/py31compat.pyr	s)�TemporaryDirectoryNc@s(eZdZdZdd�Zdd�Zdd�ZdS)	rz�
        Very simple temporary directory context manager.
        Will try to delete afterward, but will also ignore OS and similar
        errors on deletion.
        cCsd|_tj�|_dS)N)r�tempfile�mkdtemp)�selfr	r	r
�__init__szTemporaryDirectory.__init__cCs|jS)N)r)rr	r	r
�	__enter__!szTemporaryDirectory.__enter__cCs2ytj|jd�Wntk
r&YnXd|_dS)NT)�shutil�rmtreer�OSError)r�exctypeZexcvalueZexctracer	r	r
�__exit__$s
zTemporaryDirectory.__exit__N)�__name__�
__module__�__qualname__�__doc__rrrr	r	r	r
rsr)�__all__�	sysconfigrr�ImportError�distutils.sysconfigrrrr�objectr	r	r	r
�<module>s

?>