diff --git a/020_python-uv.sh b/020_python-uv.sh new file mode 100644 index 0000000..2b31f41 --- /dev/null +++ b/020_python-uv.sh @@ -0,0 +1,158 @@ +#!/usr/bin/env bash + +echo "manage through mise-en-place" +exit 1 + +# # 1. Install `uv` +# a development environment setup tool. +sudo apt update -qq && sudo apt install -y curl + +# sudo install -dm 755 /etc/apt/keyrings +DEST=${1:-/etc/skel} +URI="https://debian.griffo.io" +KEY_DIR="/usr/share/keyrings" +KEY="${KEY_DIR}/debian.griffo.io-archive-keyring.gpg" +UV_HOME="${DEST}/.config/uv" +UV_CONFIG_DIR="${UV_HOME}/conf.d" + +# Add the GPG key +curl -fsS ${URI}/EA0F721D231FDD3A0A17B9AC7808B4DD62C41256.asc | sudo gpg --dearmor --yes -o ${KEY} 1>/dev/null + +# Add the repository +# echo "deb https://debian.griffo.io/apt $(lsb_release -sc 2>/dev/null) main" | sudo tee /etc/apt/sources.list.d/debian.griffo.io.list +conf_print_uv_sources() { + cat <