Skip to content

Commit c23f56d

Browse files
committed
Enhance new-installer.sh to install Python via uv and remove --system flag from pip installation
1 parent f2258e2 commit c23f56d

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

installers/new-installer.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,13 @@ if ! command -v uv > /dev/null 2>&1; then
1818
export PATH="$HOME/.cargo/bin:$PATH"
1919
fi
2020

21+
# Install Python using uv
22+
echo "Installing Python $PYTHON_VERSION..."
23+
uv python install "$PYTHON_VERSION"
24+
2125
# Direct installation using uv with specific Python version
2226
echo "Installing package..."
23-
uv pip install --system --python "$PYTHON_VERSION" "git+$REPO_URL@$BRANCH"
27+
uv pip install --python "$PYTHON_VERSION" "git+$REPO_URL@$BRANCH"
2428

2529
echo
2630
echo "Installation complete!"

0 commit comments

Comments
 (0)