# -*- mode: python -*- ''' MULTIPROCESS FEATURE: file A (onefile pack) depends on file B (onedir pack) ''' __testname__ = 'test_multipackage2' __testdep__ = 'multipackage2_B' a = Analysis([__testname__ + '.py'], pathex=['.']) b = Analysis([__testdep__ + '.py'], pathex=['.']) MERGE((b, __testdep__, os.path.join(__testdep__, __testdep__ + '.exe')), (a, __testname__, __testname__ + '.exe')) pyz = PYZ(a.pure) exe = EXE(pyz, a.scripts, a.binaries, a.zipfiles, a.datas, a.dependencies, name=os.path.join('dist', __testname__ + '.exe'), debug=False, strip=False, upx=True, console=1 ) pyzB = PYZ(b.pure) exeB = EXE(pyzB, b.scripts, b.dependencies, exclude_binaries=1, name=os.path.join('build', 'pyi.'+sys.platform, __testdep__, __testdep__ + '.exe'), debug=False, strip=False, upx=True, console=1 ) coll = COLLECT( exeB, b.binaries, b.zipfiles, b.datas, strip=False, upx=True, name=os.path.join('dist', __testdep__))