mirror of
https://github.com/onionshare/onionshare.git
synced 2025-06-08 14:52:59 -04:00
Snapcraft: use python-packages to install pip deps
This commit is contained in:
parent
3c4b3abafb
commit
509cdd24bd
1 changed files with 8 additions and 6 deletions
|
@ -124,14 +124,16 @@ parts:
|
||||||
- libffi-dev
|
- libffi-dev
|
||||||
- python3-dev
|
- python3-dev
|
||||||
- python3-pip
|
- python3-pip
|
||||||
- python3-setuptools
|
|
||||||
- cargo
|
- cargo
|
||||||
|
python-packages:
|
||||||
|
- pip
|
||||||
|
- setuptools
|
||||||
|
- wheel
|
||||||
|
- poetry
|
||||||
override-build: |
|
override-build: |
|
||||||
python3 -m pip install poetry
|
poetry install
|
||||||
python3 -m poetry install
|
poetry build
|
||||||
python3 -m poetry build
|
pip install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL
|
||||||
python3 -m pip install setuptools
|
|
||||||
python3 -m pip 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:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue