uv just added "uvx [-p x.y] python", which means I can get rid of my clunky:
py() {
if [ -n "${VIRTUAL_ENV:-}" ]; then
python "$@"
else
"$(preferred_python_version)" "$@"
fi
}
And replace it with just "alias py=uvx python"
=> More informations about this toot | More toots from bitecode@framapiaf.org
text/gemini
This content has been proxied by September (3851b).