From 4e27e75f066856338cffa789d3fc110ab368ba1a Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Mon, 3 Oct 2022 18:45:43 -0700 Subject: [PATCH] Snapcraft: Use debian packages instead of python-packages --- snap/snapcraft.yaml | 13 +++++-------- 1 file 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: