Explorar o código

Attempt to fix macosx wheels (#1308)

Jelmer Vernooij hai 1 ano
pai
achega
902981f19b
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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"