From 3f121920fccd4b3e3d5070455ddc048c0581088f Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 18 Aug 2024 23:00:06 +0200 Subject: [PATCH] export variables instead of sourcing shell script activate --- spcd.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/spcd.sh b/spcd.sh index a842fce..d08fe3d 100644 --- a/spcd.sh +++ b/spcd.sh @@ -672,7 +672,8 @@ index-url = ${SPCD_URL_PYTHON} spcd_split "${SPCD_PYTHON_ALIAS}" -m "venv" "${SPCD_PYTHON_VENV}" spcd_split - . "${SPCD_PYTHON_VENV}/bin/activate" + export PATH="${SPCD_PYTHON_VENV_BINARIES}:${PATH}" + export VIRTUAL_ENV="${SPCD_PYTHON_VENV}" spcd_split pip install --upgrade "pip" spcd_split