Try installing PySide2 from apt instead of pip

This commit is contained in:
Micah Lee 2022-10-07 11:17:41 -07:00
parent 3780865fed
commit 0bcb8425ee
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -130,8 +130,11 @@ parts:
- libxslt1.1
- libxtst6
- qtwayland5
- python3-pyside2.qtcore
- python3-pyside2.qtgui
- python3-pyside2.qtwidgets
override-build: |
python3 -m pip install qrcode 'pyside2==5.15.2.1' --prefix $SNAPCRAFT_PART_INSTALL
python3 -m pip install qrcode --prefix $SNAPCRAFT_PART_INSTALL
python3 setup.py install --prefix $SNAPCRAFT_PART_INSTALL
after: [onionshare-cli]