aboutsummaryrefslogtreecommitdiff
path: root/snap
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2022-10-03 16:15:55 -0700
committerMicah Lee <micah@micahflee.com>2022-10-03 16:15:55 -0700
commit84f0bcbec1fd5e17695eb718841b32d026b8083b (patch)
tree8e3a5392fbf5bc3c7bdd194f2d699dafa84dbb60 /snap
parent2b33622b23f940a003d6c545cf0179f89eb43c29 (diff)
downloadonionshare-84f0bcbec1fd5e17695eb718841b32d026b8083b.tar.gz
onionshare-84f0bcbec1fd5e17695eb718841b32d026b8083b.zip
Snapcraft: Install setuptools before installing onionshare_cli
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml5
1 files changed, 4 insertions, 1 deletions
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]