mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-19 18:55:09 +00:00
feat(scripts): update pip install script
This commit is contained in:
@@ -10,10 +10,12 @@ msg "Starting to install pip packages"
|
|||||||
msg_err "Could not find python3, something really weird is going on." && exit 1
|
msg_err "Could not find python3, something really weird is going on." && exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
msg_nested "Upgrading pip"
|
||||||
|
python3 -m pip install --user --upgrade pip
|
||||||
|
|
||||||
packages=(
|
packages=(
|
||||||
"pipx"
|
"pipx"
|
||||||
"libtmux"
|
"libtmux"
|
||||||
"ensurepath"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
for pkg in "${packages[@]}"; do
|
for pkg in "${packages[@]}"; do
|
||||||
@@ -23,7 +25,7 @@ for pkg in "${packages[@]}"; do
|
|||||||
if [[ ${pkg:0:1} == "#" ]]; then continue; fi
|
if [[ ${pkg:0:1} == "#" ]]; then continue; fi
|
||||||
|
|
||||||
msg_nested "Installing pip package: $pkg"
|
msg_nested "Installing pip package: $pkg"
|
||||||
python3 -m pip install --user "$pkg"
|
python3 -m pip install --user --upgrade "$pkg"
|
||||||
|
|
||||||
echo ""
|
echo ""
|
||||||
done
|
done
|
||||||
|
|||||||
Reference in New Issue
Block a user