This commit is contained in:
parent
105216c6ec
commit
c6798f7035
1 changed files with 5 additions and 4 deletions
9
spcd.sh
9
spcd.sh
|
@ -704,9 +704,9 @@ spcd_install_packages() {
|
||||||
index-url = ${SPCD_URL_PYTHON}
|
index-url = ${SPCD_URL_PYTHON}
|
||||||
"
|
"
|
||||||
spcd_split
|
spcd_split
|
||||||
"${SPCD_PYTHON_ALIAS}" -m "venv" "${SPCD_VENV}"
|
"${SPCD_PYTHON_ALIAS}" -m "venv" "${SPCD_PYTHON_VENV}"
|
||||||
spcd_split
|
spcd_split
|
||||||
. "${SPCD_VENV}/bin/activate"
|
. "${SPCD_PYTHON_VENV}/bin/activate"
|
||||||
spcd_split
|
spcd_split
|
||||||
pip install --upgrade "pip"
|
pip install --upgrade "pip"
|
||||||
spcd_split
|
spcd_split
|
||||||
|
@ -719,7 +719,8 @@ index-url = ${SPCD_URL_PYTHON}
|
||||||
spcd_install_python_modules() {
|
spcd_install_python_modules() {
|
||||||
spcd_step "Install Python modules"
|
spcd_step "Install Python modules"
|
||||||
spcd_ipm__root="$(mktemp --directory)" || exit
|
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}"
|
echo "→ ${spcd_ipm__root}"
|
||||||
for spcd_ipm__repository in "${SPCD_GIT_MAIN}" "${SPCD_GIT_ROOT}"; do
|
for spcd_ipm__repository in "${SPCD_GIT_MAIN}" "${SPCD_GIT_ROOT}"; do
|
||||||
case "${spcd_ipm__repository}" in
|
case "${spcd_ipm__repository}" in
|
||||||
|
@ -948,7 +949,7 @@ SPCD_PM_APT="apt"
|
||||||
SPCD_PM_DNF="dnf"
|
SPCD_PM_DNF="dnf"
|
||||||
SPCD_PM_PACMAN="pacman"
|
SPCD_PM_PACMAN="pacman"
|
||||||
|
|
||||||
SPCD_VENV="/opt/venv"
|
SPCD_PYTHON_VENV="/opt/venv"
|
||||||
|
|
||||||
SPCD_HORIZONTAL="────╌╌╌╌┄┄┄┄┈┈┈┈"
|
SPCD_HORIZONTAL="────╌╌╌╌┄┄┄┄┈┈┈┈"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue