2015-09-29 22:50:22 +08:00
|
|
|
# -*- mode: python -*-
|
|
|
|
|
|
|
|
block_cipher = None
|
|
|
|
|
|
|
|
|
|
|
|
a = Analysis(['main.py'],
|
|
|
|
pathex=['.'],
|
|
|
|
binaries=None,
|
|
|
|
datas=None,
|
2016-09-04 18:45:49 +08:00
|
|
|
hiddenimports=['_cffi_backend','grequests'],
|
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)
|
|
|
|
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 )
|