diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index d5b610595..c6d9ad8b0 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -92,6 +92,8 @@ parts: # build, but also on any isolated build that pip could trigger when building wheels for # dependencies. See https://github.com/certbot/certbot/pull/8443 for more info. - PIP_CONSTRAINT: $SNAPCRAFT_PART_SRC/snap-constraints.txt + build-attributes: + - enable-patchelf override-build: | python3 -m venv "${SNAPCRAFT_PART_INSTALL}" "${SNAPCRAFT_PART_INSTALL}/bin/python3" "${SNAPCRAFT_PART_SRC}/tools/pipstrap.py"