From d761ee9f5734e6c69022822e733c01ecb8ad376f Mon Sep 17 00:00:00 2001 From: Miquel Massot Date: Fri, 10 May 2024 15:09:03 +0100 Subject: [PATCH] Update pyproject.toml --- pyproject.toml | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 5485fcf..08443ae 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,9 +7,15 @@ before-all = "pip install numpy scipy" [tool.cibuildwheel.macos] before-build = "brew install eigen cmake ninja" +repair-wheel-command = "delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel}" [tool.cibuildwheel.windows] -before-build = "choco install eigen cmake ninja" +before-build = [ + "choco install eigen cmake ninja", + "pip install delvewheel", +] +repair-wheel-command = "delvewheel repair -w {dest_dir} {wheel}" [tool.cibuildwheel.linux] before-build = "yum install -y blas-devel flann-devel eigen3-devel cmake ninja" +repair-wheel-command = "auditwheel repair -w {dest_dir} {wheel}"