File tree Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Expand file tree Collapse file tree 2 files changed +4
-8
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,6 @@ HERE=$(dirname ${BASH_SOURCE:-$0})
66HERE=" $( cd -- " $HERE " > /dev/null 2>&1 && pwd ) "
77ROOT=$( dirname " $( dirname $HERE ) " )
88
9- # Set up the uv environment if indicated.
10- if [ " ${1:- } " == " ensure-uv" ]; then
11- bash $HERE /setup-uv-python.sh
12- fi
13-
149# Source the env files to pick up common variables.
1510if [ -f $HERE /env.sh ]; then
1611 . $HERE /env.sh
2419# Ensure dependencies are installed.
2520bash $HERE /install-dependencies.sh
2621
22+ # Handle the value for UV_PYTHON.
23+ . $HERE /setup-uv-python.sh
24+
2725# Only run the next part if not running on CI.
2826if [ -z " ${CI:- } " ]; then
2927 # Add the default install path to the path if needed.
Original file line number Diff line number Diff line change @@ -18,8 +18,6 @@ if [ -f $HERE/test-env.sh ]; then
1818 . $HERE /test-env.sh
1919fi
2020
21- set -x
22-
2321# Translate PYTHON_BINARY/PYTHON_VERSION to UV_PYTHON.
2422if [ -z " ${UV_PYTHON:- } " ]; then
2523 if [ -n " ${PYTHON_BINARY:- } " ]; then
@@ -48,5 +46,5 @@ if [ -z "${UV_PYTHON:-}" ]; then
4846 _python=" /opt/python/$_python /bin/python3"
4947 fi
5048 fi
51- echo " export UV_PYTHON=$_python " >> $HERE /env.sh
49+ export UV_PYTHON=" $_version "
5250fi
You can’t perform that action at this time.
0 commit comments