Add --system-site-packages to get wheel in the venv

This commit is contained in:
Adrien Ferrand 2020-07-16 23:02:39 +02:00
parent d1febabd6b
commit 6bf614e6be

View file

@ -72,7 +72,9 @@ parts:
- python3-pkg-resources
- python3.8-minimal
# To build cryptography and cffi if needed
build-packages: [libffi-dev, libssl-dev, git, libaugeas-dev, python3-dev]
build-packages: [gcc, libffi-dev, libssl-dev, git, libaugeas-dev, python3-dev]
build-environment:
- SNAPCRAFT_PYTHON_VENV_ARGS: --system-site-packages
override-pull: |
snapcraftctl pull
cd $SNAPCRAFT_PART_SRC