Browse Source

Attempt to fix macosx wheels (#1308)

Jelmer Vernooij 11 months ago
parent
commit
902981f19b
1 changed files with 4 additions and 0 deletions
  1. 4 0
      pyproject.toml

+ 4 - 0
pyproject.toml

@@ -115,3 +115,7 @@ before-build = "pip install -U setuptools-rust && curl https://sh.rustup.rs -sSf
 
 [tool.cibuildwheel.linux]
 skip = "*-musllinux_*"
+
+[[tool.cibuildwheel.overrides]]
+select = "*-macosx_arm64"
+before-build = "pip install -U setuptools-rust && curl https://sh.rustup.rs -sSf | sh -s -- --profile=minimal -y && rustup target add x86_64-apple-darwin"