File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Expand file tree Collapse file tree 2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change 45
45
if ! command -v uv 2> /dev/null; then
46
46
echo " Installing uv..."
47
47
# On most systems we can install directly.
48
- _curl https://astral.sh/uv/install.sh | env UV_INSTALL_DIR=" $_BIN_DIR " INSTALLER_NO_MODIFY_PATH=1 sh || {
48
+ curl -LsSf https://astral.sh/uv/install.sh | env UV_INSTALL_DIR=" $_BIN_DIR " INSTALLER_NO_MODIFY_PATH=1 sh || {
49
49
_pip_install uv uv
50
50
}
51
51
if ! command -v uv 2> /dev/null; then
Original file line number Diff line number Diff line change 13
13
# Ensure dependencies are installed.
14
14
. $HERE /install-dependencies.sh
15
15
16
+
17
+ # Set the location of the python bin dir.
18
+ if [ " Windows_NT" = " ${OS:- } " ]; then
19
+ BIN_DIR=.venv/Scripts
20
+ else
21
+ BIN_DIR=.venv/bin
22
+ fi
23
+
16
24
# Ensure there is a python venv.
17
25
if [ ! -d $BIN_DIR ]; then
18
26
. .evergreen/utils.sh
You can’t perform that action at this time.
0 commit comments