Skip to content

Commit

Permalink
fix handling of --system-site-packages
Browse files Browse the repository at this point in the history
  • Loading branch information
blink1073 committed Jun 14, 2024
1 parent e2bbb2a commit c6f3301
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .evergreen/run-mod-wsgi-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit c6f3301

Please sign in to comment.