Skip to content

Commit 6567c94

Browse files
authored
debug
1 parent 2e9bc3e commit 6567c94

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

pyproject.toml

+13-5
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,18 @@ environment = {MACOSX_DEPLOYMENT_TARGET="11", SYSTEM_VERSION_COMPAT=0, BUILD_VDF
3939
[tool.cibuildwheel.windows]
4040
build-verbosity = 0
4141
before-all = "git clone https://github.com/Chia-Network/mpir_gc_x64.git"
42-
environment = {BUILD_VDF_CLIENT="N"}
43-
before-build = "pip install delvewheel"
42+
environment = {BUILD_VDF_CLIENT="N", SETUPTOOLS_USE_DISTUTILS="stdlib"}
4443
repair-wheel-command = """
45-
delvewheel repair -v -w {dest_dir} {wheel} \
46-
--add-path mpir_gc_x64 \
47-
--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 \
44+
ls -l mpir_gc_x64 && pip uninstall -y delocate \
45+
&& pip install git+https://github.com/Chia-Network/delocate.git \
46+
&& delocate-wheel -v -i mpir_gc_x64/mpir.dll {wheel} \
47+
&& delocate-wheel -v -i mpir_gc_x64/mpir_gc.dll {wheel} \
48+
&& delocate-wheel -v -i mpir_gc_x64/mpir_broadwell.dll {wheel} \
49+
&& delocate-wheel -v -i mpir_gc_x64/mpir_broadwell_avx.dll {wheel} \
50+
&& delocate-wheel -v -i mpir_gc_x64/mpir_bulldozer.dll {wheel} \
51+
&& delocate-wheel -v -i mpir_gc_x64/mpir_haswell.dll {wheel} \
52+
&& delocate-wheel -v -i mpir_gc_x64/mpir_piledriver.dll {wheel} \
53+
&& delocate-wheel -v -i mpir_gc_x64/mpir_sandybridge.dll {wheel} \
54+
&& delocate-wheel -v -i mpir_gc_x64/mpir_skylake_avx.dll {wheel} \
55+
&& cp {wheel} {dest_dir} \
4856
"""

0 commit comments

Comments
 (0)