Skip to content

Commit

Permalink
install rust using rustup
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinsung committed Sep 10, 2024
1 parent 76fb57d commit 3ef5439
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,5 @@ select = [
"*.pyi" = ["F403", "F405", "PYI001", "PYI002"]

[tool.cibuildwheel.linux]
# mirrorlist.centos.org doesn't exist anymore
# Workaround from https://serverfault.com/a/1161847
before-all = "sed -i s/mirror.centos.org/vault.centos.org/g /etc/yum.repos.d/*.repo && sed -i s/^#.*baseurl=http/baseurl=http/g /etc/yum.repos.d/*.repo && yum install -y rust cargo"
before-all = "curl -sSf https://sh.rustup.rs | sh -s -- -y"
environment = "PATH=$HOME/.cargo/bin:$PATH"

0 comments on commit 3ef5439

Please sign in to comment.