Skip to content

Commit be83f59

Browse files
committed
Use uv instead of pip in installer
1 parent da98ad4 commit be83f59

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

install.sh

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ echo "Installing rlm-cli..."
1212

1313
# Check for required tools
1414
command -v git >/dev/null 2>&1 || { echo "Error: git is required"; exit 1; }
15-
command -v python3 >/dev/null 2>&1 || { echo "Error: python3 is required"; exit 1; }
15+
command -v uv >/dev/null 2>&1 || { echo "Error: uv is required (https://docs.astral.sh/uv/)"; exit 1; }
1616

1717
# Clean up existing installation
1818
if [ -d "$INSTALL_DIR" ]; then
@@ -24,12 +24,11 @@ fi
2424
echo "Cloning repository..."
2525
git clone --recurse-submodules --depth 1 "$REPO" "$INSTALL_DIR"
2626

27-
# Create venv and install
28-
echo "Creating virtual environment..."
27+
# Create venv and install with uv
28+
echo "Installing with uv..."
2929
cd "$INSTALL_DIR"
30-
python3 -m venv .venv
31-
.venv/bin/pip install --upgrade pip -q
32-
.venv/bin/pip install -e . -q
30+
uv venv
31+
uv pip install -e .
3332

3433
# Create bin directory and symlink
3534
mkdir -p "$BIN_DIR"

0 commit comments

Comments
 (0)