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() {