Snapcraft: Call python modules with "python3 -m"

This commit is contained in:
Micah Lee 2022-10-03 18:20:51 -07:00
parent 233a3fe77c
commit 696c9eaafe
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -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: