From 84f0bcbec1fd5e17695eb718841b32d026b8083b Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Mon, 3 Oct 2022 16:15:55 -0700 Subject: [PATCH] Snapcraft: Install setuptools before installing onionshare_cli --- snap/snapcraft.yaml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index beb2e10e..8c677cc9 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -14,7 +14,9 @@ confinement: strict architectures: - build-on: amd64 - 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: onionshare: @@ -128,6 +130,7 @@ parts: python3 -m pip install poetry python3 -m poetry install python3 -m poetry build + python3 -m pip install setuptools python3 -m pip install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL after: [tor, obfs4, snowflake-client, meek-client]