I successfully managed to package my C++ application. My app runs a little python script and that script needs pywebview. I added python3-webview
as a stage package but python interpreter says that python webview does not exist! How can i add this depandancy to be available for python interpreter??
Traceback (most recent call last):
File "<string>", line 6, in <module>
ModuleNotFoundError: No module named 'webview'
...
base: core22
...
parts:
...
myapp:
after: ["stuff"]
plugin: cmake
source-type: local
source: .
override-build: |
cmake ../src -G Ninja
cmake --build . --config Release
install -Dm777 myapp $SNAPCRAFT_PART_INSTALL
build-packages:
- ninja-build
- libsdl2-dev
- libtag1-dev
- libtag1v5
- libtag-extras-dev
stage-packages:
- libsdl-sound1.2
- libtag1v5
- python3-webview