From c6f3301d56218d7613b958ed809a880b9cea1439 Mon Sep 17 00:00:00 2001 From: Steven Silvester Date: Fri, 14 Jun 2024 15:22:17 -0500 Subject: [PATCH] fix handling of --system-site-packages --- .evergreen/run-mod-wsgi-tests.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.evergreen/run-mod-wsgi-tests.sh b/.evergreen/run-mod-wsgi-tests.sh index 8cce0abb69..c8c7bd6d9d 100644 --- a/.evergreen/run-mod-wsgi-tests.sh +++ b/.evergreen/run-mod-wsgi-tests.sh @@ -19,9 +19,9 @@ fi PYTHON_VERSION=$(${PYTHON_BINARY} -c "import sys; sys.stdout.write('.'.join(str(val) for val in sys.version_info[:2]))") # Ensure the C extensions are installed. -${PYTHON_BINARY} -m venv .venv +${PYTHON_BINARY} -m venv --system-site-packages .venv source .venv/bin/activate -python -m pip install --system-site-packages -e . +python -m pip install -e . export MOD_WSGI_SO=/opt/python/mod_wsgi/python_version/$PYTHON_VERSION/mod_wsgi_version/$MOD_WSGI_VERSION/mod_wsgi.so export PYTHONHOME=/opt/python/$PYTHON_VERSION