Snapcraft: Install setuptools before installing onionshare_cli

This commit is contained in:
Micah Lee 2022-10-03 16:15:55 -07:00
parent 2b33622b23
commit 84f0bcbec1
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -14,7 +14,9 @@ confinement: strict
architectures: architectures:
- build-on: amd64 - build-on: amd64
- build-on: arm64 - build-on: arm64
- build-on: armhf
# The gnome extension is only available for amd64 and arm64 (https://snapcraft.io/gnome-42-2204-sdk)
# - build-on: armhf
apps: apps:
onionshare: onionshare:
@ -128,6 +130,7 @@ parts:
python3 -m pip install poetry python3 -m pip install poetry
python3 -m poetry install python3 -m poetry install
python3 -m poetry build python3 -m poetry build
python3 -m pip install setuptools
python3 -m pip install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL python3 -m pip install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL
after: [tor, obfs4, snowflake-client, meek-client] after: [tor, obfs4, snowflake-client, meek-client]