Remove pyinstaller specs. Add a quick-and-dirty script for building OSX binaries.
This commit is contained in:
parent
db43f1ffcc
commit
a386dff058
|
@ -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
|
|
@ -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 )
|
|
@ -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 )
|
Loading…
Reference in New Issue