aboutsummaryrefslogtreecommitdiff
path: root/snap
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2022-10-03 18:45:43 -0700
committerMicah Lee <micah@micahflee.com>2022-10-03 18:45:43 -0700
commit4e27e75f066856338cffa789d3fc110ab368ba1a (patch)
tree4124286f47dd5a3f79480c3300f48173b9df7e49 /snap
parent696c9eaafe87fc4f1da502f247745d2bba6dd0e4 (diff)
downloadonionshare-4e27e75f066856338cffa789d3fc110ab368ba1a.tar.gz
onionshare-4e27e75f066856338cffa789d3fc110ab368ba1a.zip
Snapcraft: Use debian packages instead of python-packages
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml13
1 files changed, 5 insertions, 8 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 67836640..e9acc7e4 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -124,16 +124,13 @@ parts:
- libffi-dev
- python3-dev
- python3-pip
+ - python3-poetry
+ - python3-setuptools
- cargo
- python-packages:
- - pip
- - setuptools
- - wheel
- - poetry
override-build: |
- python3 -m poetry install
- python3 -m poetry build
- python3 -m pip install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL
+ poetry install
+ poetry build
+ pip3 install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL
after: [tor, obfs4, snowflake-client, meek-client]
tor: