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,