From d4a9f1c89e2baea03b775a35858d1f8f0bba771e Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 26 Aug 2024 18:03:06 +0200 Subject: [PATCH] pip --- spcd/bootstrap.sh | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/spcd/bootstrap.sh b/spcd/bootstrap.sh index 667ffbb..6acf9a6 100644 --- a/spcd/bootstrap.sh +++ b/spcd/bootstrap.sh @@ -348,17 +348,6 @@ spcd_python_ln() { 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 -} - # ╭───────────┬───────╮ # │ functions │ split │ # ╰───────────┴───────╯ @@ -827,6 +816,17 @@ spcd_install_package() { spcd_clean_cache } +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_query_package() { case "${SPCD_PM}" in "${SPCD_PM_APK}") apk info "${1}" ;;