File tree Expand file tree Collapse file tree 4 files changed +36
-4
lines changed Expand file tree Collapse file tree 4 files changed +36
-4
lines changed Original file line number Diff line number Diff line change @@ -8,7 +8,15 @@ printf "Submodule is checked out at commit: $(git submodule status)\n\n"
88
99echo " Setting up Python dependencies..."
1010${PYBIN} /python --version
11- ${PYBIN} /pip install -r requirements.txt
11+
12+ # Check for uv first (faster), then fall back to pip
13+ if command -v uv & > /dev/null; then
14+ echo " Using uv to install dependencies..."
15+ uv add -r requirements.txt
16+ else
17+ echo " Using pip to install dependencies..."
18+ ${PYBIN} /pip install -r requirements.txt || ${PYBIN} /pip3 install -r requirements.txt
19+ fi
1220
1321cd ./bdk-ffi/bdk-ffi/
1422
Original file line number Diff line number Diff line change @@ -8,7 +8,15 @@ printf "Submodule is checked out at commit: $(git submodule status)\n\n"
88
99echo " Setting up Python dependencies..."
1010python3 --version
11- pip install -r requirements.txt
11+
12+ # Check for uv first (faster), then fall back to pip
13+ if command -v uv & > /dev/null; then
14+ echo " Using uv to install dependencies..."
15+ uv add -r requirements.txt
16+ else
17+ echo " Using pip to install dependencies..."
18+ pip install -r requirements.txt || pip3 install -r requirements.txt
19+ fi
1220
1321cd ./bdk-ffi/bdk-ffi/
1422
Original file line number Diff line number Diff line change @@ -8,7 +8,15 @@ printf "Submodule is checked out at commit: $(git submodule status)\n\n"
88
99echo " Setting up Python dependencies..."
1010python3 --version
11- pip install -r requirements.txt
11+
12+ # Check for uv first (faster), then fall back to pip
13+ if command -v uv & > /dev/null; then
14+ echo " Using uv to install dependencies..."
15+ uv add -r requirements.txt
16+ else
17+ echo " Using pip to install dependencies..."
18+ pip install -r requirements.txt || pip3 install -r requirements.txt
19+ fi
1220
1321cd ./bdk-ffi/bdk-ffi/
1422
Original file line number Diff line number Diff line change @@ -8,7 +8,15 @@ printf "Submodule is checked out at commit: $(git submodule status)\n\n"
88
99echo " Setting up Python dependencies..."
1010python3 --version
11- pip install -r requirements.txt
11+
12+ # Check for uv first (faster), then fall back to pip
13+ if command -v uv & > /dev/null; then
14+ echo " Using uv to install dependencies..."
15+ uv add -r requirements.txt
16+ else
17+ echo " Using pip to install dependencies..."
18+ pip install -r requirements.txt || pip3 install -r requirements.txt
19+ fi
1220
1321cd ./bdk-ffi/bdk-ffi/
1422
You can’t perform that action at this time.
0 commit comments