diff options
| author | Aldo Cortesi <aldo@nullcube.com> | 2015-08-16 21:44:54 +1200 |
|---|---|---|
| committer | Aldo Cortesi <aldo@nullcube.com> | 2015-08-16 21:44:54 +1200 |
| commit | c428578c836e44d328c5d5eacb795c82fc2360cb (patch) | |
| tree | e74c42489910470cbef1089c7ea0f2b2c8724e2b /release/pathoc.spec | |
| parent | 7432ad6af7a69291bb5b1f63d1b279833a4231dd (diff) | |
| download | mitmproxy-c428578c836e44d328c5d5eacb795c82fc2360cb.tar.gz mitmproxy-c428578c836e44d328c5d5eacb795c82fc2360cb.tar.bz2 mitmproxy-c428578c836e44d328c5d5eacb795c82fc2360cb.zip | |
First pass PyInstaller specs for OSX binaries
Diffstat (limited to 'release/pathoc.spec')
| -rw-r--r-- | release/pathoc.spec | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/release/pathoc.spec b/release/pathoc.spec new file mode 100644 index 00000000..5a902093 --- /dev/null +++ b/release/pathoc.spec @@ -0,0 +1,30 @@ +# -*- mode: python -*- + +from glob import glob + +VENV = "../release/venv" + +a = Analysis(['../pathod/pathoc'], + hiddenimports=["_cffi_backend"], + hookspath=None, + runtime_hooks=None, + excludes=None, + ) +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='pathoc', + debug=False, + strip=None, + upx=True, + console=True ) |
