diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index ff9644e58..183b9cab1 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -57,10 +57,10 @@ parts: constraints: [$SNAPCRAFT_PART_SRC/snap-constraints.txt] python-packages: - wheel - - ./acme - - ./certbot - - ./certbot-apache - - ./certbot-nginx + - -e acme + - -e certbot + - -e certbot-apache + - -e certbot-nginx stage: - -usr/lib/python3.8/sitecustomize.py # maybe unnecessary # Prefer cffi @@ -69,7 +69,7 @@ parts: - libaugeas0 - python3-venv # To build cryptography and cffi if needed - build-packages: [libffi-dev, libssl-dev, git, python3-wheel] + build-packages: [libffi-dev, libssl-dev, git] override-pull: | snapcraftctl pull snapcraftctl set-version `cd $SNAPCRAFT_PART_SRC/certbot && git describe|sed s/^v//`