Replace pipx with uv for installing Python-based tools

This commit is contained in:
Ohad Livne 2026-01-07 23:21:03 +02:00
parent a37fa4f0d7
commit d1e206805b
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D
4 changed files with 33 additions and 36 deletions

View file

@ -0,0 +1,30 @@
#! /usr/bin/bash
set -euo pipefail
IFS=$'\n\t'
UV_PKGS=(
# keep-sorted start
rshell
ruff
# keep-sorted end
)
for package in "${UV_PKGS[@]}"; do
uv tool install "${package}"
done
PYLSP_PLUGINS=(
# keep-sorted start
--with fs
--with podman
--with pydantic
--with pylsp-mypy
--with pylsp-rope
--with pytest
--with testcontainers
--with types-docker
--with types-pyxdg
# keep-sorted end
)
uv tool install "${PYLSP_PLUGINS[@]}" python-lsp-server