mirror of
https://github.com/onionshare/onionshare.git
synced 2025-01-22 20:51:27 -05:00
Snapcraft: use python-packages to install pip deps
This commit is contained in:
parent
84f0bcbec1
commit
233a3fe77c
@ -124,14 +124,16 @@ parts:
|
||||
- libffi-dev
|
||||
- python3-dev
|
||||
- python3-pip
|
||||
- python3-setuptools
|
||||
- cargo
|
||||
python-packages:
|
||||
- pip
|
||||
- setuptools
|
||||
- wheel
|
||||
- poetry
|
||||
override-build: |
|
||||
python3 -m pip install poetry
|
||||
python3 -m poetry install
|
||||
python3 -m poetry build
|
||||
python3 -m pip install setuptools
|
||||
python3 -m pip install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL
|
||||
poetry install
|
||||
poetry build
|
||||
pip install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL
|
||||
after: [tor, obfs4, snowflake-client, meek-client]
|
||||
|
||||
tor:
|
||||
|
Loading…
Reference in New Issue
Block a user