We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8927cfe commit 9a123bbCopy full SHA for 9a123bb
.evergreen/scripts/setup-dev-env.sh
@@ -43,8 +43,18 @@ if [ -z "${PYMONGO_BIN_DIR:-}" ]; then
43
export PATH="$PATH:$HOME/.local/bin"
44
fi
45
46
+# Set up venv, making sure c extensions build unless disabled.
47
+if [ -z "${NO_EXT:-}" ]; then
48
+ export PYMONGO_C_EXT_MUST_BUILD=1
49
+fi
50
+# Set up visual studio env on Windows spawn hosts.
51
+if [ -f $HOME/.visualStudioEnv.sh ]; then
52
+ set +u
53
+ SSH_TTY=1 source $HOME/.visualStudioEnv.sh
54
+ set -u
55
56
uv sync --frozen
-uv run --frozen --with pip pip install -e .
57
+
58
echo "Setting up python environment... done."
59
60
# Ensure there is a pre-commit hook if there is a git checkout.
0 commit comments