mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-23 08:11:00 +00:00
24 lines
597 B
Python
24 lines
597 B
Python
# -*- mode: python -*-
|
|
|
|
from PyInstaller.utils.hooks import collect_data_files
|
|
|
|
a = Analysis(['mitmproxy'],
|
|
binaries=None,
|
|
datas=collect_data_files("mitmproxy.onboarding"),
|
|
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='mitmproxy',
|
|
debug=False,
|
|
strip=None,
|
|
upx=True,
|
|
console=True,
|
|
icon='icon.ico' )
|