aboutsummaryrefslogtreecommitdiff
path: root/snap
diff options
context:
space:
mode:
authorMicah Lee <micah@micahflee.com>2022-10-04 10:40:29 -0700
committerMicah Lee <micah@micahflee.com>2022-10-04 10:40:29 -0700
commit56da12ca7b0ccbe9d427dea0c45c89ea31121d95 (patch)
tree43c1c61b0596ff3dfa5caf09e982145ba3f238d1 /snap
parent85466651b76270bda95f9c245cac839ec427e6f2 (diff)
downloadonionshare-56da12ca7b0ccbe9d427dea0c45c89ea31121d95.tar.gz
onionshare-56da12ca7b0ccbe9d427dea0c45c89ea31121d95.zip
Snapcraft: Try pip again
Diffstat (limited to 'snap')
-rw-r--r--snap/snapcraft.yaml17
1 files changed, 4 insertions, 13 deletions
diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml
index ae815b5b..76b3829b 100644
--- a/snap/snapcraft.yaml
+++ b/snap/snapcraft.yaml
@@ -118,26 +118,17 @@ parts:
onionshare-cli:
source: ./cli
plugin: python
- build-packages:
- - build-essential
- - libssl-dev
- - libffi-dev
- - python3-dev
- - python3-pip
- - python3-poetry
- - python3-setuptools
stage-packages:
- build-essential
- libssl-dev
- libffi-dev
- python3-dev
- python3-pip
- - python3-poetry
- - python3-setuptools
override-build: |
- poetry install
- poetry build
- pip3 install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL
+ 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
after: [tor, obfs4, snowflake-client, meek-client]
tor: