We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 12b263c commit 41f19cbCopy full SHA for 41f19cb
2 files changed
pkg/linux/build-functions.sh
@@ -63,7 +63,7 @@ _create_python_virtualenv() {
63
cd "usr/${APP_NAME}" || exit
64
65
# Create the blank venv
66
- "${SYSTEM_PYTHON_PATH}" -m venv venv
+ "${SYSTEM_PYTHON_PATH}" -m venv --system-site-packages venv
67
# shellcheck disable=SC1091
68
. venv/bin/activate
69
tools/setup-python-env.sh
@@ -7,7 +7,7 @@ then
7
fi
8
9
echo Creating a blank environment...
10
-python3 -m venv venv || { echo 'ERROR: Failed to create the blank virtual env.' ; exit 1; }
+python3 -m venv --system-site-packages venv || { echo 'ERROR: Failed to create the blank virtual env.' ; exit 1; }
11
12
echo Activating the virtual environment...
13
. venv/bin/activate || { echo 'ERROR: Failed to activate the virtual env.' ; exit 1; }
0 commit comments