python/modules

This commit is contained in:
Marc Beninca 2024-08-25 20:18:05 +02:00
parent cce51abc00
commit 5b1aa53adf
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -756,13 +756,14 @@ index-url = ${SPCD_URL_PYTHON}
} }
spcd_install_python_modules() { spcd_install_python_modules() {
spcd_step "Install Python modules" spcd_step_in "Install Python modules"
spcd_ipm__target="${SPCD_PYTHON_VENV_PACKAGES}" spcd_ipm__target="${SPCD_PYTHON_VENV_PACKAGES}"
spcd_step "List"
spcd_ls "${spcd_ipm__target}" spcd_ls "${spcd_ipm__target}"
spcd_split spcd_step "Main"
spcd_ipm__path="$(spcd_pip_install "${SPCD_GIT_MAIN}")" spcd_ipm__path="$(spcd_pip_install "${SPCD_GIT_MAIN}")"
# check matching of file and variable # check matching of file and variable
spcd_split spcd_step "Check"
spcd_ipm__script="${spcd_ipm__path}/main.sh" spcd_ipm__script="${spcd_ipm__path}/main.sh"
ls -l "${spcd_ipm__script}" ls -l "${spcd_ipm__script}"
spcd_ipm__check="${spcd_ipm__script}.${SPCD_CMD_SUM}" spcd_ipm__check="${spcd_ipm__script}.${SPCD_CMD_SUM}"
@ -772,10 +773,11 @@ spcd_install_python_modules() {
dos2unix "${spcd_ipm__script}" dos2unix "${spcd_ipm__script}"
ls -l "${spcd_ipm__script}" ls -l "${spcd_ipm__script}"
"${SPCD_CMD_SUM}" -c "${spcd_ipm__check}" || spcd_error_ci "SPCD" "${SPCD_CMD_SUM}" -c "${spcd_ipm__check}" || spcd_error_ci "SPCD"
spcd_split spcd_step "Root"
spcd_pip_install "${SPCD_GIT_ROOT}" spcd_pip_install "${SPCD_GIT_ROOT}"
spcd_split spcd_step "List"
spcd_ls "${spcd_ipm__target}" spcd_ls "${spcd_ipm__target}"
spcd_step_out
} }
spcd_install_packages() { spcd_install_packages() {