Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: add clarification regarding linux docker environment #1686

Merged
merged 3 commits into from
Jan 26, 2024
Merged
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/setup.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@ Install cibuildwheel and run a build like this:
```

You should see the builds taking place. You can experiment with options using environment variables or pyproject.toml.
Please take into account the build is performed on a wide variety of linux distros with different package managers.
joerick marked this conversation as resolved.
Show resolved Hide resolved

!!! tab "Environment variables"

Expand All @@ -61,15 +62,15 @@ You should see the builds taking place. You can experiment with options using en

```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 @@ -82,7 +83,7 @@ You should see the builds taking place. You can experiment with options using en

```
[tool.cibuildwheel]
before-all = "apt install libpng-dev"
before-all = "uname -a"
```

Then invoke cibuildwheel, like:
Expand Down