zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
U
O±d’ã@sZddlZddlmZddlZej d¡ej d¡ej dddg¡ejjdd    „ƒƒƒƒZdS)
éN)ÚPathzignore::DeprecationWarningzignore::ResourceWarningÚmodez--onedirú    --onefilec    Cs¬t d¡j}ttƒ d¡ ¡}dt|dƒdt|dƒdt|ƒ|t|ƒg}||ƒ|dkrj|d|j}n|d|j|j}t    jt|ƒgd    t    j
d
}|j   ¡d ks¨t ‚d S) z7Compile and run pyinstaller-smoke.py using PyInstaller.zPyInstaller.__main__zpyinstaller-smoke.pyz
--workpathÚbuildz
--distpathÚdistz
--specpathrT)ÚcheckÚstdouts
I made it!N)ÚpytestZ importorskipÚrunrÚ__file__Ú    with_nameÚresolveÚstrÚstemÚ
subprocessÚPIPErÚstripÚAssertionError)rZtmp_pathZpyinstaller_cliÚsourceÚargsZexeÚp©rúZd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\numpy/_pyinstaller/test_pyinstaller.pyÚtest_pyinstallers" 
 
úr)    rÚpathlibrr    ÚmarkÚfilterwarningsZ parametrizeZslowrrrrrÚ<module>s