This line in your spec implies that PyInstaller should run each of these scripts as main scripts one after the other.
a = Analysis(['VTMv008.py','VTMConfig.py','VTMLayout.py'],` It should only contain your top level script. If this top level script imports the other 2 then these will be included automatically but not as main scripts so their if __name__ == "__main__": blocks wont execute. -- You received this message because you are subscribed to the Google Groups "PyInstaller" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/pyinstaller/169d9321-4500-45c1-9a3e-47143d1d9143n%40googlegroups.com.
