pip
This commit is contained in:
parent
d22986d284
commit
d4a9f1c89e
1 changed files with 11 additions and 11 deletions
|
@ -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}" ;;
|
||||
|
|
Loading…
Reference in a new issue