I'm writing an Python app that makes use of a Gtk.AboutDialog. Some of the information shown in the dialog comes from setting properties for bits of info I've just given elsewhere, and I'd like to avoid duplication.

1 Answer
1

You can place a constants.py for example, in the python package for your program, and define the values there, instead of in setup.py. You can then import that module from setup.py or the code which shows the about dialog, and set the appropriate values from the appropriate constants.