Your IP : 3.145.89.181
3
K�Re� � @ s� d dgZ yddlmZmZ W n, ek
rH ddlmZmZ dd� ZY nX yddlmZ W n4 ek
r� ddl Z ddlZG dd � d e
�ZY nX dS )
�get_config_vars�get_path� )r r )r �get_python_libc C s | dkrt d��t| dk�S )N�platlib�purelibzName must be purelib or platlib)r r )�
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( e Zd ZdZdd� Zdd� Zdd� ZdS ) 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 | _ tj� | _ 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 s2 yt j| jd� W n tk
r& Y nX d | _d S )NT)�shutil�rmtreer �OSError)r �exctypeZexcvalueZexctracer r r
�__exit__$ s
zTemporaryDirectory.__exit__N)�__name__�
__module__�__qualname__�__doc__r r r r r r r
r s r )�__all__� sysconfigr r �ImportError�distutils.sysconfigr r r r �objectr r r r
�<module> s