Skip to content

Commit 98241b8

Browse files
committed
modified build script to directly install from pip rather than astral.sh
1 parent 15c8c65 commit 98241b8

File tree

1 file changed

+7
-4
lines changed

1 file changed

+7
-4
lines changed

build/shell_scripts/build_client.sh

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,13 @@ set -eox pipefail
55
export UV_HTTP_TIMEOUT=3600
66

77
# Ensure uv is installed
8-
if ! command -v uv &> /dev/null; then
9-
echo "Installing uv package manager..."
10-
curl -LsSf https://astral.sh/uv/install.sh | sh
11-
export PATH="$HOME/.cargo/bin:$PATH"
8+
set +e
9+
uv --version >/dev/null 2>&1
10+
return_code=$?
11+
set -e
12+
if [ $return_code -ne 0 ]; then
13+
echo "Installing uv package manager via pip..."
14+
python -m pip install uv
1215
fi
1316

1417
# Setup virtual environment and dependencies

0 commit comments

Comments
 (0)