Skip to content

Commit 009344d

Browse files
committed
Update lock
1 parent 59825a5 commit 009344d

File tree

2 files changed

+164
-219
lines changed

2 files changed

+164
-219
lines changed

.evergreen/utils.sh

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,9 +120,17 @@ is_python_39() {
120120
get_python_binary() {
121121
version=$1
122122
if [ "$(uname -s)" = "Darwin" ]; then
123-
PYTHON="/Library/Frameworks/Python.Framework/Versions/$version/bin/python3"
123+
if [[ "$version" == *"t"* ]]; then
124+
binary_name="python3t"
125+
framework_dir="PythonT"
126+
else
127+
binary_name="python3"
128+
framework_dir="Python"
129+
fi
130+
version=$(echo "$version" | sed 's/t//g')
131+
PYTHON="/Library/Frameworks/$framework_dir.Framework/Versions/$version/bin/$binary_name"
124132
elif [ "Windows_NT" = "${OS:-}" ]; then
125-
version=$(echo $version | cut -d. -f1,2 | sed 's/\.//g')
133+
version=$(echo $version | cut -d. -f1,2 | sed 's/\.//g; s/t//g')
126134
if [ -n "${IS_WIN32:-}" ]; then
127135
PYTHON="C:/python/32/Python$version/python.exe"
128136
else

0 commit comments

Comments
 (0)