From c1efcbf3bfad771bce4c8ccef876a4bc1de4ade3 Mon Sep 17 00:00:00 2001 From: Kyle Altendorf Date: Fri, 8 Mar 2024 00:11:29 -0500 Subject: [PATCH] back to delvewheel --- pyproject.toml | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 1b1d0d8e..dfb5cf98 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,19 +39,10 @@ environment = {MACOSX_DEPLOYMENT_TARGET="11", SYSTEM_VERSION_COMPAT=0, BUILD_VDF [tool.cibuildwheel.windows] build-verbosity = 0 before-all = "git clone https://github.com/Chia-Network/mpir_gc_x64.git" -environment = {BUILD_VDF_CLIENT="N", SETUPTOOLS_USE_DISTUTILS="stdlib"} +environment = {BUILD_VDF_CLIENT="N"} +before-build = "pip install delvewheel" repair-wheel-command = """ -ls -l mpir_gc_x64 && pip uninstall -y delocate \ -&& pip install wheel==0.37.1 \ -&& pip install --no-build-isolation git+https://github.com/Chia-Network/delocate.git@debug \ -&& delocate-wheel -v -i mpir_gc_x64/mpir.dll {wheel} \ -&& delocate-wheel -v -i mpir_gc_x64/mpir_gc.dll {wheel} \ -&& delocate-wheel -v -i mpir_gc_x64/mpir_broadwell.dll {wheel} \ -&& delocate-wheel -v -i mpir_gc_x64/mpir_broadwell_avx.dll {wheel} \ -&& delocate-wheel -v -i mpir_gc_x64/mpir_bulldozer.dll {wheel} \ -&& delocate-wheel -v -i mpir_gc_x64/mpir_haswell.dll {wheel} \ -&& delocate-wheel -v -i mpir_gc_x64/mpir_piledriver.dll {wheel} \ -&& delocate-wheel -v -i mpir_gc_x64/mpir_sandybridge.dll {wheel} \ -&& delocate-wheel -v -i mpir_gc_x64/mpir_skylake_avx.dll {wheel} \ -&& cp {wheel} {dest_dir} \ +delvewheel repair -v -w {dest_dir} {wheel} \ +--add-path mpir_gc_x64 \ +--add-dll mpir.dll;mpir_gc.dll;mpir_broadwell.dll;mpir_broadwell_avx.dll;mpir_bulldozer.dll;mpir_haswell.dll;mpir_piledriver.dll;mpir_sandybridge.dll;mpir_skylake_avx.dll \ """