mitmproxy/release/mitmproxy.spec
2015-03-12 13:26:21 +11:00

30 lines
636 B
Python

# -*- mode: python -*-
from glob import glob
a = Analysis(['./mitmproxy'],
hiddenimports=[],
hookspath=None,
runtime_hooks=None,
excludes=None,
)
a.datas = Tree(
"./libmproxy/onboarding/templates",
prefix="libmproxy/onboarding/templates"
)
a.datas += Tree(
"./libmproxy/onboarding/static",
prefix="libmproxy/onboarding/static"
)
pyz = PYZ(a.pure)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name='mitmproxy',
debug=False,
strip=None,
upx=True,
console=True )