ã“Remã@sddlZddlZddgZyddlmZmZWn4ek rtddlmZmZdd„ZYnXyddl m Z Wn@ek rËddl Z ddl Z Gdd „d e ƒZ YnXej Zdejdd …koùdknZerd 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 ú‹/builddir/build/BUILDROOT/alt-python35-setuptools-36.3.0-4.el8.x86_64/opt/alt/python35/lib/python3.5/site-packages/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__ s zTemporaryDirectory.__init__cCs|jS)N)r)rr r r Ú __enter__$szTemporaryDirectory.__enter__c Cs9ytj|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 s   r ééécOs9d|kr)|ddkr)tj|ds"        )