Install onionshare python deps with pip

This commit is contained in:
Micah Lee 2022-10-07 10:40:18 -07:00
parent fe2269dfb2
commit 3780865fed
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -69,9 +69,6 @@ parts:
build-environment:
- PATH: /usr/bin:$PATH
- PYTHONPATH: ""
python-packages:
- qrcode
- pyside2 == 5.15.2.1
stage-packages:
- libasound2
- libatk1.0-0
@ -134,6 +131,7 @@ parts:
- libxtst6
- qtwayland5
override-build: |
python3 -m pip install qrcode 'pyside2==5.15.2.1' --prefix $SNAPCRAFT_PART_INSTALL
python3 setup.py install --prefix $SNAPCRAFT_PART_INSTALL
after: [onionshare-cli]