From 37e6767612930c6bf93b4b8aadaabae69bcf42a5 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Wed, 21 Aug 2024 12:44:50 +0200 Subject: [PATCH] python substeps --- spcd.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/spcd.sh b/spcd.sh index 9301941..b954910 100644 --- a/spcd.sh +++ b/spcd.sh @@ -669,24 +669,24 @@ spcd_install_git() { spcd_install_python() { spcd_step "Install Python" spcd_install_package "${SPCD_PYTHON_PACKAGE}" - spcd_split + spcd_substep "Link alias to command" spcd_ln_python "${SPCD_PYTHON_COMMAND}" # venv - spcd_step "Install Python virtual environment" + spcd_substep "Install virtual environment" case "${SPCD_OS_ID}" in "${SPCD_OS_DEBIAN}" | "${SPCD_OS_UBUNTU}") spcd_install_package "python3-venv" ;; *) ;; esac - spcd_split + spcd_substep "Configure PIP" spcd_write "/etc/pip.conf" "\ [global] index-url = ${SPCD_URL_PYTHON} " - spcd_split + spcd_substep "Create virtual environment" "${SPCD_PYTHON_ALIAS}" -m "venv" "${SPCD_PYTHON_VENV}" - spcd_split + spcd_substep "Activate virtual environment" export PATH="${SPCD_PYTHON_VENV_BINARIES}:${PATH}" export VIRTUAL_ENV="${SPCD_PYTHON_VENV}" }