repair-wheel-command docs and error message improvements (#2058)

* Fix bug in docs for running abi3audit in repair-wheel-command on windows

* Better error message for misconfigured repair-wheel-command
This commit is contained in:
Joe Rickerby
2024-10-28 23:22:03 -04:00
committed by GitHub
parent eaa861622a
commit 66d45de432
5 changed files with 34 additions and 3 deletions
+5 -1
View File
@@ -1120,6 +1120,7 @@ Platform-specific environment variables are also available:<br/>
delocate-wheel --require-archs {delocate_archs} -w {dest_dir} -v {wheel} &&
pipx run abi3audit --strict --report {wheel}
CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: >
copy {wheel} {dest_dir} &&
pipx run abi3audit --strict --report {wheel}
```
@@ -1158,7 +1159,10 @@ Platform-specific environment variables are also available:<br/>
"pipx run abi3audit --strict --report {wheel}",
]
[tool.cibuildwheel.windows]
repair-wheel-command = "pipx run abi3audit --strict --report {wheel}"
repair-wheel-command = [
"copy {wheel} {dest_dir}",
"pipx run abi3audit --strict --report {wheel}",
]
```
In configuration mode, you can use an inline array, and the items will be joined with `&&`.