From c23f56d66994680e29d68c07bb9fb103222b5235 Mon Sep 17 00:00:00 2001 From: killian <63927363+KillianLucas@users.noreply.github.com> Date: Tue, 3 Dec 2024 20:29:10 -0800 Subject: [PATCH] Enhance new-installer.sh to install Python via uv and remove --system flag from pip installation --- installers/new-installer.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/installers/new-installer.sh b/installers/new-installer.sh index 463d71f8f..8bd1d4b0e 100644 --- a/installers/new-installer.sh +++ b/installers/new-installer.sh @@ -18,9 +18,13 @@ if ! command -v uv > /dev/null 2>&1; then export PATH="$HOME/.cargo/bin:$PATH" fi +# Install Python using uv +echo "Installing Python $PYTHON_VERSION..." +uv python install "$PYTHON_VERSION" + # Direct installation using uv with specific Python version echo "Installing package..." -uv pip install --system --python "$PYTHON_VERSION" "git+$REPO_URL@$BRANCH" +uv pip install --python "$PYTHON_VERSION" "git+$REPO_URL@$BRANCH" echo echo "Installation complete!" \ No newline at end of file