From 6d70b790df67013fcb84f699c8dac3414f4cbce2 Mon Sep 17 00:00:00 2001 From: Aldo Cortesi Date: Mon, 25 May 2015 13:08:32 +1200 Subject: [PATCH] release: include resources PyInstaller doesn't record in spec files. --- release/mitmdump.spec | 4 ++++ release/mitmproxy.spec | 4 ++++ release/mitmweb.spec | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/release/mitmdump.spec b/release/mitmdump.spec index 1707122cf..f9b0311c7 100644 --- a/release/mitmdump.spec +++ b/release/mitmdump.spec @@ -16,6 +16,10 @@ a.datas += Tree( "./libmproxy/onboarding/static", prefix="libmproxy/onboarding/static" ) +a.datas += Tree( + "../venv.mitmproxy/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/src", + prefix = "cryptography/hazmat/bindings/openssl/src" +) pyz = PYZ(a.pure) exe = EXE(pyz, a.scripts, diff --git a/release/mitmproxy.spec b/release/mitmproxy.spec index cc324aa7d..9aab5ef46 100644 --- a/release/mitmproxy.spec +++ b/release/mitmproxy.spec @@ -16,6 +16,10 @@ a.datas += Tree( "./libmproxy/onboarding/static", prefix="libmproxy/onboarding/static" ) +a.datas += Tree( + "../venv.mitmproxy/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/src", + prefix = "cryptography/hazmat/bindings/openssl/src" +) pyz = PYZ(a.pure) exe = EXE(pyz, a.scripts, diff --git a/release/mitmweb.spec b/release/mitmweb.spec index b247ce519..565482e66 100644 --- a/release/mitmweb.spec +++ b/release/mitmweb.spec @@ -24,6 +24,10 @@ a.datas += Tree( "./libmproxy/web/static", prefix="libmproxy/web/static" ) +a.datas += Tree( + "../venv.mitmproxy/lib/python2.7/site-packages/cryptography/hazmat/bindings/openssl/src", + prefix = "cryptography/hazmat/bindings/openssl/src" +) pyz = PYZ(a.pure) exe = EXE(pyz, a.scripts,