zmc
2023-10-12 ed135d79df12a2466b52dae1a82326941211dcc9
1
2
3
4
5
6
7
8
9
10
11
12
U
O±dsã@sNddlZddlZddlZddlZddlmZejjejdkdddd„ƒZ    dS)éN)Úmingw32ccompilerÚwin32zwin32 only test)Úreasonc
CsÀzt ddg¡}Wntk
r0t d¡YnX|| d¡d…}tjdkrdd|krxtd|ƒ‚nd    |krxtd
|ƒ‚t     
¡\}}|r˜t   ||d ¡z t      ¡W5|rºt   |d |¡XdS) zmTest the mingw32ccompiler.build_import_library, which builds a
    `python.a` from the MSVC `python.lib`
    znm.exez--helpz)'nm.exe' not on path, is mingw installed?ssupported targets:Nlspe-i386zd'nm.exe' found but it does not support 32-bit dlls when using 32-bit python. Supported formats: '%s's    pe-x86-64zd'nm.exe' found but it does not support 64-bit dlls when using 64-bit python. Supported formats: '%s'z.bak)Ú
subprocessÚ check_outputÚFileNotFoundErrorÚpytestÚskipÚfindÚsysÚmaxsizeÚ
ValueErrorrZ_check_for_import_libÚshutilÚmoveZbuild_import_library)ÚoutÚ    supportedZhas_import_libÚfullpath©rúbd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\numpy/distutils/tests/test_mingw32ccompiler.pyÚtest_build_import    s*
þþ  r)
rrr rZnumpy.distutilsrÚmarkZskipifÚplatformrrrrrÚ<module>s