Skip to content

Commit

Permalink
Enhance new-installer.sh to install Python via uv and remove --system…
Browse files Browse the repository at this point in the history
… flag from pip installation
  • Loading branch information
KillianLucas committed Dec 4, 2024
1 parent f2258e2 commit c23f56d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion installers/new-installer.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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!"

0 comments on commit c23f56d

Please sign in to comment.