Unfortunately a lot has changed in the Snapcraft world and I am having a little trouble figuring out things.
I am having the following error when running the snap:
$ eri0o-drawing.drawing Traceback (most recent call last): File "/snap/eri0o-drawing/x1/usr/bin/drawing", line 36, in <module> import gi ModuleNotFoundError: No module named 'gi'
But I am staging the python-gi package… This package builds with meson instead of having a setup.py.
I noticed the software also includes a deb builder script so maybe it should be used instead and in some way have that deb inside the snap, but I don’t know how to do it either.
(I tried to use a python part, but then I get
ModuleNotFoundError: No module named 'distutils.util' right at start when it tries to install pip)
I did found someone on the forums with problems that I am not sure are relevant: Importing PIL and gi into a Snap , unfortunately, no working snapcraft.yaml file.
My system details:
$ lsb_release --all No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 18.04.2 LTS Release: 18.04 Codename: bionic $ uname -a Linux 4.15.0-55-generic #60-Ubuntu SMP Tue Jul 2 18:22:20 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux $ snapcraft --version snapcraft, version 3.7.1