# import and run cpdctrl_gui # when packaging this with pyinstaller, # cpdctrl_gui will be imported as python package and thus # have the package metadata (including version number) available from cpdctrl_gui import init if __name__ == '__main__': import sys sys.exit(init.run())