mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-12-02 12:01:17 +00:00
31 lines
616 B
RPMSpec
31 lines
616 B
RPMSpec
|
# -*- mode: python -*-
|
||
|
|
||
|
from glob import glob
|
||
|
|
||
|
VENV = "../release/venv"
|
||
|
|
||
|
a = Analysis(['../pathod/pathoc'],
|
||
|
hiddenimports=["_cffi_backend"],
|
||
|
hookspath=None,
|
||
|
runtime_hooks=None,
|
||
|
excludes=None,
|
||
|
)
|
||
|
a.datas += Tree(
|
||
|
os.path.join(
|
||
|
VENV,
|
||
|
"lib/python2.7/site-packages/certifi",
|
||
|
),
|
||
|
prefix = "certifi"
|
||
|
)
|
||
|
pyz = PYZ(a.pure)
|
||
|
exe = EXE(pyz,
|
||
|
a.scripts,
|
||
|
a.binaries,
|
||
|
a.zipfiles,
|
||
|
a.datas,
|
||
|
name='pathoc',
|
||
|
debug=False,
|
||
|
strip=None,
|
||
|
upx=True,
|
||
|
console=True )
|