mitmproxy/release/mitmweb.spec

23 lines
572 B
RPMSpec
Raw Normal View History

2015-11-29 01:48:39 +00:00
# -*- mode: python -*-
from PyInstaller.utils.hooks import collect_data_files
2016-02-17 20:48:37 +00:00
a = Analysis(['../mitmproxy/bin/mitmweb'],
2015-11-29 01:48:39 +00:00
binaries=None,
2016-02-16 21:01:50 +00:00
datas=collect_data_files("mitmproxy"),
2015-11-29 01:48:39 +00:00
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 )