Skip to content

Commit ba43e87

Browse files
committed
cleanup
1 parent 1a05fd4 commit ba43e87

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed

.evergreen/scripts/install-dependencies.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ fi
4545
if ! command -v uv 2>/dev/null; then
4646
echo "Installing uv..."
4747
# 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 || {
4949
_pip_install uv uv
5050
}
5151
if ! command -v uv 2>/dev/null; then

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

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ fi
1313
# Ensure dependencies are installed.
1414
. $HERE/install-dependencies.sh
1515

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+
1624
# Ensure there is a python venv.
1725
if [ ! -d $BIN_DIR ]; then
1826
. .evergreen/utils.sh

0 commit comments

Comments
 (0)