Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/linux/build-functions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ _create_python_virtualenv() {
cd "usr/${APP_NAME}" || exit

# Create the blank venv
"${SYSTEM_PYTHON_PATH}" -m venv venv
"${SYSTEM_PYTHON_PATH}" -m venv --system-site-packages venv
# shellcheck disable=SC1091
. venv/bin/activate

Expand Down
2 changes: 1 addition & 1 deletion tools/setup-python-env.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ then
fi

echo Creating a blank environment...
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; }

echo Activating the virtual environment...
. venv/bin/activate || { echo 'ERROR: Failed to activate the virtual env.' ; exit 1; }
Expand Down