Skip to content

Commit

Permalink
Update pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
miquelmassot committed May 10, 2024
1 parent c22df86 commit d761ee9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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}"

0 comments on commit d761ee9

Please sign in to comment.