2015-09-29 22:50:22 +08:00
|
|
|
# -*- mode: python -*-
|
|
|
|
|
|
|
|
block_cipher = None
|
|
|
|
|
|
|
|
|
|
|
|
a = Analysis(['main.py'],
|
|
|
|
pathex=['.'],
|
|
|
|
binaries=None,
|
|
|
|
datas=None,
|
2017-08-28 23:32:38 +08:00
|
|
|
hiddenimports=['_cffi_backend'],
|
2015-09-29 22:50:22 +08:00
|
|
|
hookspath=None,
|
|
|
|
runtime_hooks=None,
|
|
|
|
excludes=None,
|
|
|
|
win_no_prefer_redirects=None,
|
|
|
|
win_private_assemblies=None,
|
|
|
|
cipher=block_cipher)
|
2017-08-30 15:16:54 +08:00
|
|
|
|
|
|
|
a.binaries += [('sc_monkey_runner32.so', '.\\bin\\sc_monkey_runner32.so', 'BINARY')]
|
|
|
|
a.binaries += [('sc_monkey_runner64.so', '.\\bin\\sc_monkey_runner64.so', 'BINARY')]
|
|
|
|
|
2015-09-29 22:50:22 +08:00
|
|
|
pyz = PYZ(a.pure, a.zipped_data,
|
|
|
|
cipher=block_cipher)
|
|
|
|
exe = EXE(pyz,
|
|
|
|
a.scripts,
|
|
|
|
a.binaries,
|
|
|
|
a.zipfiles,
|
|
|
|
a.datas,
|
|
|
|
name='monkey',
|
|
|
|
debug=False,
|
|
|
|
strip=True,
|
|
|
|
upx=True,
|
|
|
|
console=True )
|