diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2013-05-15 11:25:25 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2013-05-15 11:25:25 +1200 |
commit | 9e94fdc6db83bc2d11b6a9cd1df5222827df3ce8 (patch) | |
tree | 564fff39331e920e626696d30584e246058479eb /release | |
parent | 52b56e23b265006c29e73e6af37713331af7f5ac (diff) | |
download | mitmproxy-9e94fdc6db83bc2d11b6a9cd1df5222827df3ce8.tar.gz mitmproxy-9e94fdc6db83bc2d11b6a9cd1df5222827df3ce8.tar.bz2 mitmproxy-9e94fdc6db83bc2d11b6a9cd1df5222827df3ce8.zip |
Make ready for pyinstaller.
Diffstat (limited to 'release')
-rwxr-xr-x | release/contributors | 2 | ||||
-rw-r--r-- | release/pyinstaller-mitmdump.spec | 20 | ||||
-rw-r--r-- | release/pyinstaller-mitmproxy.spec | 16 |
3 files changed, 38 insertions, 0 deletions
diff --git a/release/contributors b/release/contributors new file mode 100755 index 00000000..a7518219 --- /dev/null +++ b/release/contributors @@ -0,0 +1,2 @@ +#!/bin/sh +git shortlog -n -s diff --git a/release/pyinstaller-mitmdump.spec b/release/pyinstaller-mitmdump.spec new file mode 100644 index 00000000..a1a9b937 --- /dev/null +++ b/release/pyinstaller-mitmdump.spec @@ -0,0 +1,20 @@ +# -*- mode: python -*- + +# Copy into the pyinstaller directory +# ./pyinstaller.py --clean -F ./pyinstaller-mitmdump.spec + +a = Analysis(['/Users/aldo/git/public/mitmproxy/mitmdump'], + hiddenimports=["pyamf"], + hookspath=None, + runtime_hooks=None) +pyz = PYZ(a.pure) +exe = EXE(pyz, + a.scripts, + a.binaries, + a.zipfiles, + a.datas, + name='mitmdump', + debug=False, + strip=None, + upx=True, + console=True ) diff --git a/release/pyinstaller-mitmproxy.spec b/release/pyinstaller-mitmproxy.spec new file mode 100644 index 00000000..8de6d583 --- /dev/null +++ b/release/pyinstaller-mitmproxy.spec @@ -0,0 +1,16 @@ +# -*- mode: python -*- +a = Analysis(['/Users/aldo/git/public/mitmproxy/mitmproxy'], + hiddenimports=["pyamf"], + hookspath=None, + runtime_hooks=None) +pyz = PYZ(a.pure) +exe = EXE(pyz, + a.scripts, + a.binaries, + a.zipfiles, + a.datas, + name='mitmproxy', + debug=False, + strip=None, + upx=True, + console=True ) |