From 6bf614e6be905fb61dfef8e91ff8c5bb3c40bcd1 Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Thu, 16 Jul 2020 23:02:39 +0200 Subject: [PATCH] Add --system-site-packages to get wheel in the venv --- snap/snapcraft.yaml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index f0107070f..301537a50 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -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