3 M(ÌYmã@sØddlZddlZddgZyddlmZmZWn,ek rXddlmZmZdd„ZYnXyddl m Z Wn4ek ržddl Z ddl Z Gdd „d e ƒZ YnXej Zdejdd …koÂdknZerÔd d„ZdS)éNÚ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 úC/private/tmp/pip-build-nl73fm5q/setuptools/setuptools/py31compat.pyr s)ÚTemporaryDirectoryc@s(eZdZdZdd„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. cCsd|_tjƒ|_dS)N)rÚtempfileÚmkdtemp)Úselfr r r Ú__init__ szTemporaryDirectory.__init__cCs|jS)N)r)rr r r Ú __enter__$szTemporaryDirectory.__enter__c Cs2ytj|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 r sr ééécOs*d|kr|ddkrtj|d<tj||ŽS)NZ testRunner)ÚunittestZTextTestRunnerÚmain)ÚargsÚkwargsr r r Ú unittest_main5s r!)rr)rr)ÚsysrÚ__all__Ú sysconfigrrÚ ImportErrorÚdistutils.sysconfigrr r rÚobjectrr!Ú version_infoZ_PY31r r r r Ús""