maybe wheel will install first if I change it to -e

This commit is contained in:
Erica Portnoy 2020-06-15 18:05:14 -07:00
parent 3749dd3c9b
commit e1a8f3f05b

View file

@ -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//`