rename venv variable
Some checks failed
/ job (push) Failing after 13m27s

This commit is contained in:
Marc Beninca 2024-08-07 13:10:09 +02:00
parent 105216c6ec
commit c6798f7035
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -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="────╌╌╌╌┄┄┄┄┈┈┈┈"