aboutsummaryrefslogtreecommitdiff
path: root/snap
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2022-10-03 17:03:30 -0700
committerMicah Lee <micah@micahflee.com>2022-10-03 17:03:30 -0700
commit233a3fe77c32eb8cbccec4a35568ec67e02eaf62 (patch)
tree5fab4834dcb3aa62e5c3149b6cdcfcc134cff405 /snap
parent84f0bcbec1fd5e17695eb718841b32d026b8083b (diff)
downloadonionshare-233a3fe77c32eb8cbccec4a35568ec67e02eaf62.tar.gz
onionshare-233a3fe77c32eb8cbccec4a35568ec67e02eaf62.zip
Snapcraft: use python-packages to install pip deps
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml14
1 files changed, 8 insertions, 6 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index 8c677cc9..01d85753 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -124,14 +124,16 @@ parts:
- libffi-dev
- python3-dev
- python3-pip
- - python3-setuptools
- cargo
+ python-packages:
+ - pip
+ - setuptools
+ - wheel
+ - poetry
override-build: |
- 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
+ poetry install
+ poetry build
+ pip install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL
after: [tor, obfs4, snowflake-client, meek-client]
tor: