3

Q'íc¨ã@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	ú;/tmp/pip-build-l_bcah40/setuptools/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