Snapcraft: Try rearranging

This commit is contained in:
Micah Lee 2022-10-04 11:01:29 -07:00
parent 56da12ca7b
commit d56e844dee
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -115,20 +115,24 @@ parts:
- qtwayland5 - qtwayland5
after: [onionshare-cli] after: [onionshare-cli]
onionshare-cli: onionshare-cli:
source: ./cli source: ./cli
plugin: python plugin: python
stage-packages: build-packages:
- build-essential - build-essential
- libssl-dev - libssl-dev
- libffi-dev - libffi-dev
- python3-dev - python3-dev
- python3-pip - python3-pip
- python3-setuptools
stage-packages:
- python3-pip
- python3-setuptools
override-build: | override-build: |
python3 -m pip install poetry setuptools pip3 install poetry
python3 -m poetry install poetry install
python3 -m poetry build poetry build
python3 -m pip install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL pip3 install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL
after: [tor, obfs4, snowflake-client, meek-client] after: [tor, obfs4, snowflake-client, meek-client]
tor: tor: