From 336bee85e25b815a22e9dbb8843e0eab0ec95b95 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 26 Aug 2024 18:27:58 +0200 Subject: [PATCH] venv --- spcd/bootstrap.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 047380c..d320d31 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -386,9 +386,6 @@ SPCD_PM_DNF="dnf" SPCD_PM_PACMAN="pacman" SPCD_PM_ZYPPER="zypper" -SPCD_PYTHON_VENV="/opt/venv" -SPCD_PYTHON_VENV_BINARIES="${SPCD_PYTHON_VENV}/bin" - # ╭───────┬─────────────╮ # │ steps │ environment │ # ╰───────┴─────────────╯ @@ -752,6 +749,9 @@ Acquire::https::Verify-Peer False; ;; *) ;; esac + # set python virtual environment + SPCD_PYTHON_VENV="/opt/venv" + SPCD_PYTHON_VENV_BINARIES="${SPCD_PYTHON_VENV}/bin" SPCD_PYTHON_VENV_PACKAGES="\ ${SPCD_PYTHON_VENV}/lib/${SPCD_PYTHON_COMMAND}/site-packages" spcd_split