Try setting PYTHONPATH to the correct path for this snap

This commit is contained in:
Micah Lee 2022-10-06 18:51:43 -07:00
parent 55a9a46c5d
commit ce4949d931
No known key found for this signature in database
GPG Key ID: 403C2657CD994F73

View File

@ -47,7 +47,7 @@ parts:
plugin: python
build-environment:
- PATH: /usr/bin:$PATH
- PYTHONPATH: ""
- PYTHONPATH: "$SNAP/lib/python3.8/site-packages"
python-packages:
- qrcode
- pyside2 == 5.15.2.1
@ -121,7 +121,7 @@ parts:
plugin: python
build-environment:
- PATH: /usr/bin:$PATH
- PYTHONPATH: ""
- PYTHONPATH: "$SNAP/lib/python3.8/site-packages"
build-packages:
- build-essential
- libssl-dev