#!/usr/bin/env python3 # encoding: utf-8 # file: __main__.py """ This file is an alternativ to ./patroneo when using zipapp. Any code changes in ./patroneo must be manually recplicated here. """ if __name__ == '__main__': from template import start #Executes various start up checks and sets up our environment likes search paths from qtgui import mainwindow #which in turn imports the engine and starts the engine with start.profiler(): mainwindow.MainWindow().qtApp.exec_() #Program is over. Code here does not get executed. Quit is done via NSM in mainWindow._nsmQuit