mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-15 12:52:28 -04:00
Snapcraft: Try pip again
This commit is contained in:
parent
73b8ee3626
commit
ac2dcec1be
1 changed files with 4 additions and 13 deletions
|
@ -118,26 +118,17 @@ parts:
|
||||||
onionshare-cli:
|
onionshare-cli:
|
||||||
source: ./cli
|
source: ./cli
|
||||||
plugin: python
|
plugin: python
|
||||||
build-packages:
|
|
||||||
- build-essential
|
|
||||||
- libssl-dev
|
|
||||||
- libffi-dev
|
|
||||||
- python3-dev
|
|
||||||
- python3-pip
|
|
||||||
- python3-poetry
|
|
||||||
- python3-setuptools
|
|
||||||
stage-packages:
|
stage-packages:
|
||||||
- build-essential
|
- build-essential
|
||||||
- libssl-dev
|
- libssl-dev
|
||||||
- libffi-dev
|
- libffi-dev
|
||||||
- python3-dev
|
- python3-dev
|
||||||
- python3-pip
|
- python3-pip
|
||||||
- python3-poetry
|
|
||||||
- python3-setuptools
|
|
||||||
override-build: |
|
override-build: |
|
||||||
poetry install
|
python3 -m pip install poetry setuptools
|
||||||
poetry build
|
python3 -m poetry install
|
||||||
pip3 install ./dist/onionshare_cli-*.whl --prefix $SNAPCRAFT_PART_INSTALL
|
python3 -m poetry build
|
||||||
|
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