doc: refactor CIBW_BEFORE_ALL examples to working versions

This commit is contained in:
doronz
2023-12-07 08:23:04 +02:00
parent 0618babf0c
commit f2dc466d03
+3 -3
View File
@@ -62,7 +62,7 @@ Please take into account the build is performed on a wide variety of linux distr
```sh
# run a command to set up the build system
export CIBW_BEFORE_ALL='apt install libpng-dev'
export CIBW_BEFORE_ALL='uname -a'
cibuildwheel --platform linux
```
@@ -70,7 +70,7 @@ Please take into account the build is performed on a wide variety of linux distr
> CMD (Windows)
```bat
set CIBW_BEFORE_ALL='apt install libpng-dev'
set CIBW_BEFORE_ALL='uname -a'
cibuildwheel --platform linux
```
@@ -83,7 +83,7 @@ Please take into account the build is performed on a wide variety of linux distr
```
[tool.cibuildwheel]
before-all = "apt install libpng-dev"
before-all = "uname -a"
```
Then invoke cibuildwheel, like: