From 87fa48ab3babdb68bab99db19231e98981bf03f8 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Sun, 25 Aug 2024 18:40:05 +0200 Subject: [PATCH] sub/sub --- spcd/main.sh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/spcd/main.sh b/spcd/main.sh index 78722cd..6537eee 100644 --- a/spcd/main.sh +++ b/spcd/main.sh @@ -733,7 +733,8 @@ spcd_install_python() { spcd_step "Link alias to command" spcd_ln_python "${SPCD_PYTHON_COMMAND}" # venv - spcd_step "Install virtual environment" + spcd_step_in "Virtual environment" + spcd_step "Install package" case "${SPCD_OS_ID}" in "${SPCD_OS_DEBIAN}" | "${SPCD_OS_UBUNTU}") spcd_install_package "python3-venv" @@ -745,12 +746,13 @@ spcd_install_python() { [global] index-url = ${SPCD_URL_PYTHON} " - spcd_step "Create virtual environment" + spcd_step "Create" "${SPCD_PYTHON_ALIAS}" -m "venv" "${SPCD_PYTHON_VENV}" - spcd_step "Activate virtual environment" + spcd_step "Activate" export PATH="${SPCD_PYTHON_VENV_BINARIES}:${PATH}" export VIRTUAL_ENV="${SPCD_PYTHON_VENV}" spcd_step_out + spcd_step_out } spcd_install_python_modules() {