from PyInstaller.__main__ import run
if __name__ == '__main__': opts = ['test.py','--clean', '--win-private-assemblies','-F']
run(opts)