Skip to content

Commit 0964d7d

Browse files
committed
chore(scripts): allow custom python bin for constrained install
1 parent 9fe6364 commit 0964d7d

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

scripts/install_with_constraints.sh

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,7 @@ if [[ ! -f "constraints.txt" ]]; then
1010
exit 1
1111
fi
1212

13-
pip install -r requirements.txt -c constraints.txt
13+
PYTHON_BIN="${PYTHON_BIN:-python}"
14+
15+
"${PYTHON_BIN}" -m pip install -r requirements.txt -c constraints.txt
1416

0 commit comments

Comments
 (0)