mitmproxy/release/pathod.spec

39 lines
781 B
RPMSpec
Raw Normal View History

# -*- mode: python -*-
from glob import glob
VENV = "../release/venv"
2015-11-05 22:44:52 +00:00
a = Analysis(['../../pathod/pathod'],
hiddenimports=["_cffi_backend"],
hookspath=None,
runtime_hooks=None,
excludes=None,
)
a.datas = Tree(
"../pathod/libpathod/static",
prefix="libpathod/static"
)
a.datas = Tree(
"../pathod/libpathod/templates",
prefix="libpathod/templates"
)
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='pathod',
debug=False,
strip=None,
upx=True,
console=True )