Skip to content
Closed
Show file tree
Hide file tree
Changes from 6 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .evergreen/scripts/install-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ function _pip_install() {
echo "Installing $2 using pip... done."
}


# Ensure just is installed.
if ! command -v just >/dev/null 2>&1; then
# On most systems we can install directly.
Expand All @@ -53,7 +52,7 @@ if ! command -v just >/dev/null 2>&1; then
echo "Installing just... done."
fi

# Install uv.
# Fall back to installing uv.
if ! command -v uv >/dev/null 2>&1; then
echo "Installing uv..."
# On most systems we can install directly.
Expand Down
16 changes: 16 additions & 0 deletions .evergreen/scripts/setup-dev-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,22 @@ if [ -f $HERE/test-env.sh ]; then
. $HERE/test-env.sh
fi

# Try to use the binaries in the toolchain if available.
if [ -n "${CI}" ]; then
export PATH
case "${OSTYPE:?}" in
cygwin)
PATH="/cygdrive/c/Python/Current:${PATH:-}"
;;
darwin*)
PATH="/Library/Frameworks/Python.Framework/Versions/Current/bin:${PATH:-}"
;;
*)
PATH="/opt/python/Current/bin:${PATH:-}"
;;
esac
fi

# Ensure dependencies are installed.
bash $HERE/install-dependencies.sh

Expand Down
1 change: 0 additions & 1 deletion uv.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading