I have written a GTK app in Python (using PyGObject). I'm confused about how to handle deployment, specifically icons.
I understand that in most cases, I would be able to load my images from a specific path; however, the recommended way seems to be to register icons as named icons with the system, so they can be themed. In some cases, like Ubuntu's app indicators, it seems like using named icons is the only thing that is supported.
I have all this working; expect I'd like my app to work when just run from the source directory, without installing it system-wide. Surely this is possible somehow?
I know this isn't 100% what you're looking for but Gnome will also recognize icons installed at ~/.local/share/icons/. When the program is run from the source directory, the icons could be copied there.
GTK Named Icons: Load while running from source, during development