Your IP : 3.149.25.26


Current Path : /usr/lib/python3.6/site-packages/pip/utils/__pycache__/
Upload File :
Current File : //usr/lib/python3.6/site-packages/pip/utils/__pycache__/build.cpython-36.pyc

3

�Pf �@s<ddlmZddlZddlZddlmZGdd�de�ZdS)�)�absolute_importN)�rmtreec@s6eZdZddd�Zdd�Zdd�Zdd	�Zd
d�ZdS)
�BuildDirectoryNcCsL|dkr|dkrd}|dkr<tjjtjdd��}|dkr<d}||_||_dS)NTz
pip-build-)�prefix)�os�path�realpath�tempfileZmkdtemp�name�delete)�selfr
r�r
�/usr/lib/python3.6/build.py�__init__szBuildDirectory.__init__cCsdj|jj|j�S)Nz	<{} {!r}>)�format�	__class__�__name__r
)rr
r
r�__repr__szBuildDirectory.__repr__cCs|jS)N)r
)rr
r
r�	__enter__"szBuildDirectory.__enter__cCs|j�dS)N)�cleanup)r�exc�value�tbr
r
r�__exit__%szBuildDirectory.__exit__cCs|jrt|j�dS)N)rrr
)rr
r
rr(szBuildDirectory.cleanup)NN)r�
__module__�__qualname__rrrrrr
r
r
rr	s

r)	Z
__future__rZos.pathrr	Z	pip.utilsr�objectrr
r
r
r�<module>s

?>