This commit is contained in:
Marc Beninca 2024-08-25 23:04:23 +02:00
parent 0715a70cab
commit 218c31ce57
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

View file

@ -298,6 +298,21 @@ spcd_os_rm() {
fi fi
} }
# ╭───────────┬────────╮
# │ functions │ python │
# ╰───────────┴────────╯
spcd_python_pip() {
if [ -n "${1}" ]; then
spcd_pp__name="$(basename "${1}")"
spcd_pp__path="$(spcd_git_clone "${1}")"
spcd_pp__path="${spcd_pp__path}/${spcd_pp__name}"
spcd_pp__target="${SPCD_PYTHON_VENV_PACKAGES}"
cp --recursive "${spcd_pp__path}" "${spcd_pp__target}"
echo "${spcd_pp__target}/${spcd_pp__name}"
fi
}
# ╭───────────┬───────╮ # ╭───────────┬───────╮
# │ functions │ split │ # │ functions │ split │
# ╰───────────┴───────╯ # ╰───────────┴───────╯
@ -1203,17 +1218,6 @@ spcd_openssl() {
fi fi
} }
spcd_python_pip() {
if [ -n "${1}" ]; then
spcd_pp__name="$(basename "${1}")"
spcd_pp__path="$(spcd_git_clone "${1}")"
spcd_pp__path="${spcd_pp__path}/${spcd_pp__name}"
spcd_pp__target="${SPCD_PYTHON_VENV_PACKAGES}"
cp --recursive "${spcd_pp__path}" "${spcd_pp__target}"
echo "${spcd_pp__target}/${spcd_pp__name}"
fi
}
spcd_sed() { spcd_sed() {
spcd_sed__file="${1}" spcd_sed__file="${1}"
shift shift