From 46352c8e309973cb44dd84168b1c444f33d7815d Mon Sep 17 00:00:00 2001 From: Joe Rickerby Date: Sun, 14 Jun 2020 10:34:44 +0100 Subject: [PATCH] Add a modern python to linux build before_all environment --- cibuildwheel/linux.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cibuildwheel/linux.py b/cibuildwheel/linux.py index 3def204b..6e42f47f 100644 --- a/cibuildwheel/linux.py +++ b/cibuildwheel/linux.py @@ -143,6 +143,10 @@ def build(options: BuildOptions) -> None: set -o errexit set -o xtrace + # add a modern Python interpreter to PATH so it can be used by BEFORE_ALL + # commands + export PATH=/opt/python/cp38-cp38:$PATH + {environment_exports} sh -c {before_all}