mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +00:00
23 lines
558 B
RPMSpec
23 lines
558 B
RPMSpec
|
# -*- mode: python -*-
|
||
|
|
||
|
from PyInstaller.utils.hooks import collect_data_files
|
||
|
|
||
|
a = Analysis(['../mitmweb'],
|
||
|
binaries=None,
|
||
|
datas=collect_data_files("libmproxy"),
|
||
|
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 )
|