From 2a1081c5e5532284cb929c698cc3a5721b9b2d8e Mon Sep 17 00:00:00 2001 From: Grzegorz Bokota Date: Sun, 1 Dec 2019 18:38:26 +0100 Subject: [PATCH] update docs with information about more than one environment variable. --- docs/options.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/docs/options.md b/docs/options.md index f703d063..80c40d64 100644 --- a/docs/options.md +++ b/docs/options.md @@ -148,6 +148,8 @@ You must set this variable to pass variables to Linux builds (since they execute You can use `$PATH` syntax to insert other variables, or the `$(pwd)` syntax to insert the output of other shell commands. +To specify more than one environment variable separate it by space. + Platform-specific variants also available:
`CIBW_ENVIRONMENT_MACOS` | `CIBW_ENVIRONMENT_WINDOWS` | `CIBW_ENVIRONMENT_LINUX` @@ -164,6 +166,9 @@ CIBW_ENVIRONMENT: "BUILD_TIME=$(date)" # Supply options to `pip` to affect how it downloads dependencies CIBW_ENVIRONMENT: "PIP_EXTRA_INDEX_URL=https://pypi.myorg.com/simple" + +# Set two flags +CIBW_ENVIRONMENT: "BUILD_TIME=$(date) SAMPLE_TEXT=\"sample text\"" ``` !!! note