Check the link for a working example: https://github.com/AppImageCrafters/appimage-builder-python-example
Why use it over pip/system package manager?
@danyspin97 it's not a substitute of pip. It actually uses pip to gather the dependencies.
Said that, packing a linux app as an AppImage allows you to control both the python packages and other binaries that your desktop app may require. Making possible to just download and install a given app. No need to install extra stuff and deal with any possible incompatibility.
This is specially useful when making desktop applications.
I think AppImage should be used only with proprietary applications that can't be installed otherwise.
All this new layer and stuff honestly scares me. But I don't wanna say something you have already heard so I'll stop here.
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.