瀏覽代碼

Attempt to fix macosx wheels

Jelmer Vernooij 11 月之前
父節點
當前提交
d13d39171a
共有 1 個文件被更改,包括 4 次插入0 次删除
  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"