# -*- mode: python -*- __testname__ = 'test_wx' a = Analysis([__testname__ + '.py'], pathex=[]) pyz = PYZ(a.pure) exe = EXE(pyz, a.scripts, exclude_binaries=1, name=os.path.join('build', 'pyi.'+sys.platform, __testname__ + '.exe'), debug=True, strip=False, upx=True, console=True ) coll = COLLECT( exe, a.binaries, a.zipfiles, a.datas, strip=False, upx=True, name=os.path.join('dist', __testname__),)