Add optional python dependencies to snap packaging (#6317)

Signed-off-by: James Hebden <james@ec0.io>
hs/many-joined-members
James 2019-11-15 05:42:46 +11:00 committed by Andrew Morgan
parent 745a48625d
commit 53b6559a89
2 changed files with 21 additions and 0 deletions

1
changelog.d/6317.misc Normal file
View File

@ -0,0 +1 @@
Add optional python dependencies and dependant binary libraries to snapcraft packaging.

View File

@ -20,3 +20,23 @@ parts:
source: .
plugin: python
python-version: python3
python-packages:
- '.[all]'
build-packages:
- libffi-dev
- libturbojpeg0-dev
- libssl-dev
- libxslt1-dev
- libpq-dev
- zlib1g-dev
stage-packages:
- libasn1-8-heimdal
- libgssapi3-heimdal
- libhcrypto4-heimdal
- libheimbase1-heimdal
- libheimntlm0-heimdal
- libhx509-5-heimdal
- libkrb5-26-heimdal
- libldap-2.4-2
- libpq5
- libsasl2-2