From f2dc466d03672f2ade347d15027f6ada931e3b86 Mon Sep 17 00:00:00 2001 From: doronz Date: Thu, 7 Dec 2023 08:22:31 +0200 Subject: [PATCH] doc: refactor `CIBW_BEFORE_ALL` examples to working versions --- docs/setup.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/setup.md b/docs/setup.md index 55001549..bdf9ff09 100644 --- a/docs/setup.md +++ b/docs/setup.md @@ -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: