aboutsummaryrefslogtreecommitdiff
path: root/snap
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2022-10-04 11:01:29 -0700
committerMicah Lee <micah@micahflee.com>2022-10-04 11:01:29 -0700
commitd56e844deee1a32aa0697ab5e65849753537d70b (patch)
treed2af415a1cbfe660e8373b5f1e4aa5f4f3495ac5 /snap
parent56da12ca7b0ccbe9d427dea0c45c89ea31121d95 (diff)
downloadonionshare-d56e844deee1a32aa0697ab5e65849753537d70b.tar.gz
onionshare-d56e844deee1a32aa0697ab5e65849753537d70b.zip
Snapcraft: Try rearranging
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml16
1 files changed, 10 insertions, 6 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 76b3829b..0aa62a1d 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -115,20 +115,24 @@ parts:
- qtwayland5
after: [onionshare-cli]
- onionshare-cli:
+onionshare-cli:
source: ./cli
plugin: python
- stage-packages:
+ build-packages:
- build-essential
- libssl-dev
- libffi-dev
- python3-dev
- python3-pip
+ - python3-setuptools
+ stage-packages:
+ - python3-pip
+ - python3-setuptools
override-build: |
- python3 -m pip install poetry setuptools
- python3 -m poetry install
- python3 -m poetry build
- python3 -m pip install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL
+ pip3 install poetry
+ poetry install
+ poetry build
+ pip3 install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL
after: [tor, obfs4, snowflake-client, meek-client]
tor: