diff options
author | Aldo Cortesi <aldo@nullcube.com> | 2013-06-16 15:13:28 +1200 |
---|---|---|
committer | Aldo Cortesi <aldo@nullcube.com> | 2013-06-16 15:13:28 +1200 |
commit | a386dff058e7a80b7c3b5bab7e127e694ea60276 (patch) | |
tree | 37b4fbb7d9828c19c18a66d26bbb7bc15c22eb0f /release | |
parent | db43f1ffccfb006c6856888b8f31c0745aacebb4 (diff) | |
download | mitmproxy-a386dff058e7a80b7c3b5bab7e127e694ea60276.tar.gz mitmproxy-a386dff058e7a80b7c3b5bab7e127e694ea60276.tar.bz2 mitmproxy-a386dff058e7a80b7c3b5bab7e127e694ea60276.zip |
Remove pyinstaller specs. Add a quick-and-dirty script for building OSX binaries.
Diffstat (limited to 'release')
-rwxr-xr-x | release/osx-binaries | 16 | ||||
-rw-r--r-- | release/pyinstaller-mitmdump.spec | 20 | ||||
-rw-r--r-- | release/pyinstaller-mitmproxy.spec | 16 |
3 files changed, 16 insertions, 36 deletions
diff --git a/release/osx-binaries b/release/osx-binaries new file mode 100755 index 00000000..651b6bf3 --- /dev/null +++ b/release/osx-binaries @@ -0,0 +1,16 @@ +#!/bin/sh + +# Quick and dangerous script for building OSX binaries. + +# First, have a recent checkout of the dev version of pyinstaller. Change into +# the pyinstaller directory, and then run this script. + +mkdir -p /tmp/osx-mitmproxy +rm -rf mitmproxy +rm -rf mitmdump + +./pyinstaller.py -F ~/mitmproxy/mitmproxy/mitmproxy +cp mitmproxy/dist/mitmproxy /tmp/osx-mitmproxy + +./pyinstaller.py -F ~/mitmproxy/mitmproxy/mitmdump +cp mitmdump/dist/mitmdump /tmp/osx-mitmproxy diff --git a/release/pyinstaller-mitmdump.spec b/release/pyinstaller-mitmdump.spec deleted file mode 100644 index a1a9b937..00000000 --- a/release/pyinstaller-mitmdump.spec +++ /dev/null @@ -1,20 +0,0 @@ -# -*- 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 deleted file mode 100644 index 8de6d583..00000000 --- a/release/pyinstaller-mitmproxy.spec +++ /dev/null @@ -1,16 +0,0 @@ -# -*- 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 ) |