Snapcraft: Use debian packages instead of python-packages

This commit is contained in:
Micah Lee 2022-10-03 18:45:43 -07:00
parent 696c9eaafe
commit 4e27e75f06
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

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