Skip to content

Commit

Permalink
move cibuildwheel config
Browse files Browse the repository at this point in the history
  • Loading branch information
Cadair committed Feb 13, 2024
1 parent 6ffb898 commit f394c39
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,16 @@ docs = [
"sphinx_rtd_theme"
]

[tool.cibuildwheel]
before-build = "rustup show"
environment = {"PATH" = "$PATH:$HOME/.cargo/bin"}

[tool.cibuildwheel.linux]
before-all = "curl https://sh.rustup.rs -sSf | sh -s -- --default-toolchain stable -y"

[tool.cibuildwheel.macos]
before-all = "rustup target add aarch64-apple-darwin"

[tool.pytest.ini_options]
addopts = "-ra --doctest-rst"
testpaths = ["doc", "python"]
Expand Down

0 comments on commit f394c39

Please sign in to comment.