09-07-2021, 09:04 AM
I think you'll have to make it a bit more portable and well behaved before packaging it for snap or flatpak. For example hardcoded paths like /home/mobian will cause sandboxing problems for users other than mobian. It will probably be easier to package if you start with a more conventional installer too - the packaging tools can handle that in a standard way rather than having to be customised.
https://docs.flatpak.org/en/latest/python.html
https://setuptools.readthedocs.io/en/lat..._meta.html
https://docs.flatpak.org/en/latest/python.html
https://setuptools.readthedocs.io/en/lat..._meta.html