Skip to content

Commit ae60535

Browse files
committed
hoist
1 parent d42b5a2 commit ae60535

File tree

2 files changed

+17
-22
lines changed

2 files changed

+17
-22
lines changed

.evergreen/scripts/install-dependencies.sh

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -37,28 +37,6 @@ function _pip_install() {
3737
echo "Installing $2 using pip... done."
3838
}
3939

40-
# Try to use the binaries in the toolchain if available.
41-
if [ -n "${CI}" ]; then
42-
echo "HELLO"!
43-
export PATH
44-
case "${OSTYPE:?}" in
45-
cygwin)
46-
PATH="/cygdrive/c/Python/Current:${PATH:-}"
47-
;;
48-
darwin*)
49-
PATH="/Library/Frameworks/Python.Framework/Versions/Current/bin:${PATH:-}"
50-
;;
51-
*)
52-
PATH="/opt/python/Current/bin:${PATH:-}"
53-
;;
54-
esac
55-
fi
56-
set -x
57-
ls /Library/Frameworks/Python.Framework/Versions/
58-
which uv
59-
echo "$PATH"
60-
exit 1
61-
6240
# Ensure just is installed.
6341
if ! command -v just >/dev/null 2>&1; then
6442
# On most systems we can install directly.

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

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,23 @@ if [ -f $HERE/test-env.sh ]; then
1616
. $HERE/test-env.sh
1717
fi
1818

19+
# Try to use the binaries in the toolchain if available.
20+
if [ -n "${CI}" ]; then
21+
echo "HELLO"!
22+
export PATH
23+
case "${OSTYPE:?}" in
24+
cygwin)
25+
PATH="/cygdrive/c/Python/Current:${PATH:-}"
26+
;;
27+
darwin*)
28+
PATH="/Library/Frameworks/Python.Framework/Versions/Current/bin:${PATH:-}"
29+
;;
30+
*)
31+
PATH="/opt/python/Current/bin:${PATH:-}"
32+
;;
33+
esac
34+
fi
35+
1936
# Ensure dependencies are installed.
2037
bash $HERE/install-dependencies.sh
2138

0 commit comments

Comments
 (0)