Skip to content

Commit 6d00972

Browse files
fix: use rust things
1 parent 88fbb93 commit 6d00972

File tree

1 file changed

+9
-17
lines changed

1 file changed

+9
-17
lines changed

pyproject.toml

+9-17
Original file line numberDiff line numberDiff line change
@@ -44,26 +44,18 @@ packages = ["codecov_cli"]
4444
skip = "pp*"
4545
test-command = "codecovcli --help"
4646

47-
[[tool.cibuildwheel.overrides]]
48-
select = "cp313*"
49-
before-test = [
50-
"curl https://sh.rustup.rs -sSf | sh -s -- -y",
51-
". \"$HOME/.cargo/env\"",
52-
"echo \"Restarting the shell, this step takes awhile.\"",
53-
"exec bash",
54-
]
55-
56-
[[tool.cibuildwheel.overrides]]
57-
select = "cp313*win*"
58-
before-test = [
59-
"curl https://sh.rustup.rs -sSf | sh -s -- -y",
60-
"echo \"Restarting the shell, this step takes awhile.\"",
61-
"exec bash",
62-
]
63-
# %USERPROFILE%\.cargo\bin
47+
[tool.cibuildwheel.linux]
48+
before-test = "curl -sSf https://sh.rustup.rs | sh -s -- -y"
6449

6550
[tool.cibuildwheel.config-settings]
6651
pure-python = "false"
6752

6853
[tool.cibuildwheel.environment]
6954
PIP_CONSTRAINT = "requirements.txt"
55+
56+
[tool.cibuildwheel.environment.linux]
57+
PATH=$HOME/.cargo/bin:$PATH
58+
59+
[tool.cibuildwheel.windows]
60+
before-test = "rustup target add i686-pc-windows-msvc"
61+

0 commit comments

Comments
 (0)