From 3ef5439a58df0c0b164a7dfe70daca98b2cc4270 Mon Sep 17 00:00:00 2001 From: "Kevin J. Sung" Date: Tue, 10 Sep 2024 09:00:12 -0400 Subject: [PATCH] install rust using rustup --- pyproject.toml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 31ed092..40a2f42 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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"