From 696c9eaafe87fc4f1da502f247745d2bba6dd0e4 Mon Sep 17 00:00:00 2001 From: Micah Lee Date: Mon, 3 Oct 2022 18:20:51 -0700 Subject: [PATCH] Snapcraft: Call python modules with "python3 -m" --- snap/snapcraft.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 01d85753..67836640 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -131,9 +131,9 @@ parts: - wheel - poetry override-build: | - poetry install - poetry build - pip install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL + 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: