Skip to content

Commit

Permalink
doc: refactor CIBW_BEFORE_ALL examples to working versions
Browse files Browse the repository at this point in the history
  • Loading branch information
doronz88 committed Dec 7, 2023
1 parent 0618bab commit f2dc466
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -62,15 +62,15 @@ 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
```

> CMD (Windows)

```bat
set CIBW_BEFORE_ALL='apt install libpng-dev'
set CIBW_BEFORE_ALL='uname -a'

cibuildwheel --platform linux
```
Expand All @@ -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:
Expand Down

0 comments on commit f2dc466

Please sign in to comment.