mitmproxy/release/mitmweb.spec

23 lines
562 B
Python

# -*- mode: python -*-
from PyInstaller.utils.hooks import collect_data_files
a = Analysis(['../bin/mitmweb'],
binaries=None,
datas=collect_data_files("mitmproxy"),
hiddenimports=[],
hookspath=None,
runtime_hooks=None,
excludes=None)
pyz = PYZ(a.pure, a.zipped_data)
exe = EXE(pyz,
a.scripts,
a.binaries,
a.zipfiles,
a.datas,
name='mitmweb',
debug=False,
strip=None,
upx=True,
console=True )