export variables instead of sourcing shell script activate

This commit is contained in:
Marc Beninca 2024-08-18 23:00:06 +02:00
parent 88f75d8830
commit 3f121920fc
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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