spcd_python_pip
This commit is contained in:
parent
13c167fb9b
commit
0715a70cab
1 changed files with 9 additions and 9 deletions
18
spcd/main.sh
18
spcd/main.sh
|
@ -1059,7 +1059,7 @@ spcd_install_python_modules() {
|
||||||
spcd_step "List"
|
spcd_step "List"
|
||||||
spcd_os_ls "${spcd_ipm__target}"
|
spcd_os_ls "${spcd_ipm__target}"
|
||||||
spcd_step "Main"
|
spcd_step "Main"
|
||||||
spcd_ipm__path="$(spcd_pip_install "${SPCD_GIT_MAIN}")"
|
spcd_ipm__path="$(spcd_python_pip "${SPCD_GIT_MAIN}")"
|
||||||
# check matching of file and variable
|
# check matching of file and variable
|
||||||
spcd_step "Check"
|
spcd_step "Check"
|
||||||
spcd_ipm__script="${spcd_ipm__path}/main.sh"
|
spcd_ipm__script="${spcd_ipm__path}/main.sh"
|
||||||
|
@ -1072,7 +1072,7 @@ spcd_install_python_modules() {
|
||||||
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_step "Root"
|
spcd_step "Root"
|
||||||
spcd_pip_install "${SPCD_GIT_ROOT}"
|
spcd_python_pip "${SPCD_GIT_ROOT}"
|
||||||
spcd_step "List"
|
spcd_step "List"
|
||||||
spcd_os_ls "${spcd_ipm__target}"
|
spcd_os_ls "${spcd_ipm__target}"
|
||||||
spcd_step_out
|
spcd_step_out
|
||||||
|
@ -1203,14 +1203,14 @@ spcd_openssl() {
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
spcd_pip_install() {
|
spcd_python_pip() {
|
||||||
if [ -n "${1}" ]; then
|
if [ -n "${1}" ]; then
|
||||||
spcd_pi__name="$(basename "${1}")"
|
spcd_pp__name="$(basename "${1}")"
|
||||||
spcd_pi__path="$(spcd_git_clone "${1}")"
|
spcd_pp__path="$(spcd_git_clone "${1}")"
|
||||||
spcd_pi__path="${spcd_pi__path}/${spcd_pi__name}"
|
spcd_pp__path="${spcd_pp__path}/${spcd_pp__name}"
|
||||||
spcd_pi__target="${SPCD_PYTHON_VENV_PACKAGES}"
|
spcd_pp__target="${SPCD_PYTHON_VENV_PACKAGES}"
|
||||||
cp --recursive "${spcd_pi__path}" "${spcd_pi__target}"
|
cp --recursive "${spcd_pp__path}" "${spcd_pp__target}"
|
||||||
echo "${spcd_pi__target}/${spcd_pi__name}"
|
echo "${spcd_pp__target}/${spcd_pp__name}"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue