From 9c797c271bf510bff4a6fe0fe9006cf9dcb8ecfa Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Fri, 23 Apr 2021 10:28:49 +0100 Subject: [PATCH] Add delvewheel shoutout Fix #459 --- docs/options.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/docs/options.md b/docs/options.md index 425fe0e7..464d1c85 100644 --- a/docs/options.md +++ b/docs/options.md @@ -432,14 +432,28 @@ The command is run in a shell, so you can run multiple commands like `cmd1 && cm Platform-specific variants also available:
`CIBW_REPAIR_WHEEL_COMMAND_MACOS` | `CIBW_REPAIR_WHEEL_COMMAND_WINDOWS` | `CIBW_REPAIR_WHEEL_COMMAND_LINUX` +!!! tip + cibuildwheel doesn't yet ship a default repair command for Windows. + + **If that's an issue for you, check out [delvewheel]** - a new package that aims to do the same as `auditwheel` or `delocate` for Windows. + + Because delvewheel is still relatively early-stage, cibuildwheel does not yet run it by default. However, we'd recommend giving it a try! See the examples below for usage. + + [Delvewheel]: https://github.com/adang1345/delvewheel + #### Examples ```yaml +# use delvewheel on windows +CIBW_BEFORE_BUILD_WINDOWS: "pip install delvewheel" +CIBW_REPAIR_WHEEL_COMMAND_WINDOWS: "delvewheel repair -w {dest_dir} {wheel}" + # don't repair macOS wheels CIBW_REPAIR_WHEEL_COMMAND_MACOS: "" # pass the `--lib-sdir .` flag to auditwheel on Linux CIBW_REPAIR_WHEEL_COMMAND_LINUX: "auditwheel repair --lib-sdir . -w {dest_dir} {wheel}" + ```