diff options
Diffstat (limited to 'release/mitmweb.spec')
-rw-r--r-- | release/mitmweb.spec | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/release/mitmweb.spec b/release/mitmweb.spec new file mode 100644 index 00000000..4e99da38 --- /dev/null +++ b/release/mitmweb.spec @@ -0,0 +1,40 @@ +# -*- mode: python -*- + +from glob import glob +block_cipher = None + +a = Analysis(['./mitmweb'], + hiddenimports=[], + hookspath=None, + runtime_hooks=None, + excludes=None, + cipher=block_cipher, + ) +a.datas = Tree( + "./libmproxy/onboarding/templates", + prefix="libmproxy/onboarding/templates" +) +a.datas += Tree( + "./libmproxy/onboarding/static", + prefix="libmproxy/onboarding/static" +) +a.datas += Tree( + "./libmproxy/web/templates", + prefix="libmproxy/web/templates" +) +a.datas += Tree( + "./libmproxy/web/static", + prefix="libmproxy/web/static" +) +pyz = PYZ(a.pure, + cipher=block_cipher) +exe = EXE(pyz, + a.scripts, + a.binaries, + a.zipfiles, + a.datas, + name='mitmweb', + debug=False, + strip=None, + upx=True, + console=True ) |