Take a look at the config tool as an example, it imports a lot of modules https://github.com/Freeseer/freeseer/blob/experimental/src/freeseer/frontend/configtool/configtool.py