diff --git a/spcd.sh b/spcd.sh index 7028392..f247c80 100644 --- a/spcd.sh +++ b/spcd.sh @@ -704,9 +704,9 @@ spcd_install_packages() { index-url = ${SPCD_URL_PYTHON} " spcd_split - "${SPCD_PYTHON_ALIAS}" -m "venv" "${SPCD_VENV}" + "${SPCD_PYTHON_ALIAS}" -m "venv" "${SPCD_PYTHON_VENV}" spcd_split - . "${SPCD_VENV}/bin/activate" + . "${SPCD_PYTHON_VENV}/bin/activate" spcd_split pip install --upgrade "pip" spcd_split @@ -719,7 +719,8 @@ index-url = ${SPCD_URL_PYTHON} spcd_install_python_modules() { spcd_step "Install Python modules" spcd_ipm__root="$(mktemp --directory)" || exit - spcd_ipm__target="${SPCD_VENV}/lib/${SPCD_PYTHON_COMMAND}/site-packages" + spcd_ipm__target="\ +${SPCD_PYTHON_VENV}/lib/${SPCD_PYTHON_COMMAND}/site-packages" echo "→ ${spcd_ipm__root}" for spcd_ipm__repository in "${SPCD_GIT_MAIN}" "${SPCD_GIT_ROOT}"; do case "${spcd_ipm__repository}" in @@ -948,7 +949,7 @@ SPCD_PM_APT="apt" SPCD_PM_DNF="dnf" SPCD_PM_PACMAN="pacman" -SPCD_VENV="/opt/venv" +SPCD_PYTHON_VENV="/opt/venv" SPCD_HORIZONTAL="────╌╌╌╌┄┄┄┄┈┈┈┈"