Files
dotfiles/scripts/install-python-packages.md
Ismo Vuorinen 3fb9d2a32e refactor(python): migrate pip to uv and inline packages
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.
2026-02-04 03:22:17 +02:00

611 B

install-python-packages

Install Python packages defined in the script using uv.

Usage

scripts/install-python-packages.sh

What it does

  1. Checks that uv is available; if missing, installs it via the official installer.
  2. Installs each CLI tool from the inline tools array using uv tool install --upgrade.
  3. Installs each library from the inline libraries array using uv pip install --system --upgrade.
  4. 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.