release: include resources PyInstaller doesn't record in spec files.

This commit is contained in:
Aldo Cortesi 2015-05-25 13:08:32 +12:00
parent c098ce8876
commit 6d70b790df
3 changed files with 12 additions and 0 deletions

View File

@ -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,

View File

@ -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,

View File

@ -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,