Snapcraft: Use build-packages

This commit is contained in:
Micah Lee 2022-10-04 10:13:41 -07:00
parent 4e27e75f06
commit 85466651b7
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -118,6 +118,14 @@ parts:
onionshare-cli:
source: ./cli
plugin: python
build-packages:
- build-essential
- libssl-dev
- libffi-dev
- python3-dev
- python3-pip
- python3-poetry
- python3-setuptools
stage-packages:
- build-essential
- libssl-dev
@ -126,7 +134,6 @@ parts:
- python3-pip
- python3-poetry
- python3-setuptools
- cargo
override-build: |
poetry install
poetry build