aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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: