Skip to content

Commit dfba7a8

Browse files
authored
Merge pull request #15 from per1234/system-site-packages
Give Python virtual environment access to system site-packages directory
2 parents f31b227 + 22571ca commit dfba7a8

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

.github/workflows/test-integration.yml

+2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ on:
66
- '.github/workflows/test-integration.yml'
77
- '.github/workflows/testdata'
88
- 'action.yml'
9+
- 'action-setup.sh'
910
- 'compilesketches/**'
1011

1112
push:
1213
paths:
1314
- '.github/workflows/test-integration.yml'
1415
- '.github/workflows/testdata'
1516
- 'action.yml'
17+
- 'action-setup.sh'
1618
- 'compilesketches/**'
1719

1820
env:

action-setup.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ sudo apt-get install --yes python3-setuptools > /dev/null
2929
sudo apt-get install --yes python${PYTHON_PACKAGE_VERSION}-venv > /dev/null
3030

3131
# Create Python virtual environment
32-
"$PYTHON_COMMAND" -m venv "$PYTHON_VENV_PATH"
32+
"$PYTHON_COMMAND" -m venv --system-site-packages "$PYTHON_VENV_PATH"
3333

3434
# Activate Python virtual environment
3535
# shellcheck source=/dev/null

0 commit comments

Comments
 (0)