From 9ff35b77b93b554b664dbe5ba0c9a4b600fca9d4 Mon Sep 17 00:00:00 2001 From: ColorfulRhino <131405023+ColorfulRhino@users.noreply.github.com> Date: Tue, 25 Jun 2024 15:25:51 +0200 Subject: [PATCH] cli: python-tools: Add toolchain to PATH to fix building wheels --- lib/functions/general/python-tools.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/functions/general/python-tools.sh b/lib/functions/general/python-tools.sh index db96d14f3a..e6ef4956cc 100644 --- a/lib/functions/general/python-tools.sh +++ b/lib/functions/general/python-tools.sh @@ -118,6 +118,7 @@ function prepare_python_and_pip() { "PYTHONUSERBASE=${PYTHON3_INFO[USERBASE]}" "PYTHONUNBUFFERED=yes" "PYTHONPYCACHEPREFIX=${PYTHON3_INFO[PYCACHEPREFIX]}" + "PATH=\"${toolchain}:${PYTHON3_INFO[USERBASE]}/bin:${PATH}\"" # add toolchain to PATH to make building wheels work ) # If the hash file exists, we're done.