mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-04 12:48:55 +00:00
Replace pip install --user with uv tool install for CLI tools (ansible) and uv pip install --system for libraries (libtmux, pynvim). Drop pipx and pipenv (uv replaces both), delete the external config/asdf/python-packages file, and rename the script to install-python-packages to reflect the broader scope.
611 B
611 B
install-python-packages
Install Python packages defined in the script using uv.
Usage
scripts/install-python-packages.sh
What it does
- Checks that
uvis available; if missing, installs it via the official installer. - Installs each CLI tool from the inline
toolsarray usinguv tool install --upgrade. - Installs each library from the inline
librariesarray usinguv pip install --system --upgrade. - Upgrades all uv-managed tools with
uv tool upgrade --all.
To add or remove packages, edit the tools or libraries arrays in scripts/install-python-packages.sh.