Skip to content

Commit 18ae78d

Browse files
committed
handle default uv path
1 parent 5223cca commit 18ae78d

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

.evergreen/scripts/setup-dev-env.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,11 @@ if [ ! -d $BIN_DIR ]; then
3636
echo "Using python $UV_PYTHON"
3737
fi
3838

39-
echo "HELLO: $(pwd)"
40-
echo "PATH=$PATH"
41-
ls
39+
# Add the default uv install path to the path.
40+
if ! command -v uv 2>/dev/null; then
41+
export PATH="$HOME/.local/bin:$PATH"
42+
fi
43+
4244
uv sync --frozen
4345
uv run --frozen --with pip pip install -e .
4446
echo "Setting up python environment... done."

0 commit comments

Comments
 (0)