ôYJã@sŸddlZddlZddlmZddlmZddlZddlZej j e ƒZ ej j e dƒZdd„Zdd„Zd d „ZdS) éN)Ú WheelFile)Úmkdtempztest-1.0-py2.py3-none-win32.whlcGstjjtjj|ŒƒS)N)ÚosÚpathÚexistsÚjoin)r©rú8/tmp/pip-build-3puug3g5/wheel/wheel/test/test_install.pyÚchecksr c Csƒtƒ}dd„}ttd|ƒ}|j|ƒs<t‚z2i}x8dD]0}tjj||ƒ||.get_supportedÚcontextÚpurelibÚplatlibÚscriptsÚheadersÚdataZ overridesrz hello.pydZhellozhello.pyz __init__.pyz hello.datzhello.shztest-1.0.dist-infoÚRECORD)zpurelibzplatlibzscriptszheaderszdata)rrÚ TESTWHEELZsupports_current_pythonÚAssertionErrorrrrÚmkdirÚinstallÚlenÚlistdirr ÚshutilÚrmtree)ÚtempdirrZwhlZlocsÚkeyrrr Ú test_installs&   % r#cCs#tjjtgddddƒdS)z*Slightly improve coverage of wheel.installÚforceTÚdry_runN)rZtoolrrrrrr Útest_install_tool3sr&)Z wheel.toolrZwheel.pep425tagsZ wheel.installrÚtempfilerrrrÚdirnameÚ__file__ZTHISDIRrrr r#r&rrrr Ús