@@ -19,15 +19,7 @@ UV_CACHE_DIR=$PROJECT_DIRECTORY/.local/uv/cache
19
19
DRIVERS_TOOLS_BINARIES=" $DRIVERS_TOOLS /.bin"
20
20
MONGODB_BINARIES=" $DRIVERS_TOOLS /mongodb/bin"
21
21
22
- # On Evergreen jobs, "CI" will be set, and we don't want to write to $HOME.
23
- if [ " ${CI:- } " == " true" ]; then
24
- PYMONGO_BIN_DIR=${DRIVERS_TOOLS_BINARIES:- }
25
- # We want to use a path that's already on PATH on spawn hosts.
26
- else
27
- PYMONGO_BIN_DIR=$HOME /cli_bin
28
- fi
29
-
30
- PATH_EXT=" $MONGODB_BINARIES :$DRIVERS_TOOLS_BINARIES :$PYMONGO_BIN_DIR :\$ PATH"
22
+ PATH_EXT=" $MONGODB_BINARIES :$DRIVERS_TOOLS_BINARIES :\$ PATH"
31
23
32
24
# Python has cygwin path problems on Windows. Detect prospective mongo-orchestration home directory
33
25
if [ " Windows_NT" = " ${OS:- } " ]; then # Magic variable in cygwin
@@ -38,7 +30,6 @@ if [ "Windows_NT" = "${OS:-}" ]; then # Magic variable in cygwin
38
30
UV_CACHE_DIR=$( cygpath -m " $UV_CACHE_DIR " )
39
31
DRIVERS_TOOLS_BINARIES=$( cygpath -m " $DRIVERS_TOOLS_BINARIES " )
40
32
MONGODB_BINARIES=$( cygpath -m " $MONGODB_BINARIES " )
41
- PYMONGO_BIN_DIR=$( cygpath -m " $PYMONGO_BIN_DIR " )
42
33
fi
43
34
44
35
SCRIPT_DIR=" $PROJECT_DIRECTORY /.evergreen/scripts"
@@ -65,7 +56,6 @@ export CARGO_HOME="$CARGO_HOME"
65
56
export UV_TOOL_DIR="$UV_TOOL_DIR "
66
57
export UV_CACHE_DIR="$UV_CACHE_DIR "
67
58
export UV_TOOL_BIN_DIR="$DRIVERS_TOOLS_BINARIES "
68
- export PYMONGO_BIN_DIR="$PYMONGO_BIN_DIR "
69
59
export PATH="$PATH_EXT "
70
60
# shellcheck disable=SC2154
71
61
export PROJECT="${project:- mongo-python-driver} "
0 commit comments