2014-12-28 04:39:44 +00:00
|
|
|
# -*- mode: python -*-
|
|
|
|
|
2015-11-29 01:48:39 +00:00
|
|
|
from PyInstaller.utils.hooks import collect_data_files
|
2014-12-28 04:39:44 +00:00
|
|
|
|
2016-02-18 10:25:29 +00:00
|
|
|
a = Analysis(['mitmdump'],
|
2015-11-29 01:48:39 +00:00
|
|
|
binaries=None,
|
2016-10-26 07:09:33 +00:00
|
|
|
datas=collect_data_files("mitmproxy.addons.onboardingapp"),
|
2014-12-28 04:39:44 +00:00
|
|
|
hiddenimports=[],
|
|
|
|
hookspath=None,
|
|
|
|
runtime_hooks=None,
|
2015-11-29 01:48:39 +00:00
|
|
|
excludes=None)
|
|
|
|
pyz = PYZ(a.pure, a.zipped_data)
|
2014-12-28 04:39:44 +00:00
|
|
|
exe = EXE(pyz,
|
|
|
|
a.scripts,
|
|
|
|
a.binaries,
|
|
|
|
a.zipfiles,
|
|
|
|
a.datas,
|
|
|
|
name='mitmdump',
|
|
|
|
debug=False,
|
|
|
|
strip=None,
|
|
|
|
upx=True,
|
2016-03-11 15:00:17 +00:00
|
|
|
console=True,
|
|
|
|
icon='icon.ico' )
|