From c68754c16629a6b45c7feba57f14d51a1617c4a2 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Mon, 22 Jun 2015 19:15:22 -0400 Subject: [feat] initial working bundle with pyinstaller linux only, at the moment, but it's a good start :) --- pkg/pyinst/bitmask.py | 1 + pkg/pyinst/bitmask.spec | 59 +++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 120000 pkg/pyinst/bitmask.py create mode 100644 pkg/pyinst/bitmask.spec (limited to 'pkg') diff --git a/pkg/pyinst/bitmask.py b/pkg/pyinst/bitmask.py new file mode 120000 index 00000000..3da791e6 --- /dev/null +++ b/pkg/pyinst/bitmask.py @@ -0,0 +1 @@ +../../src/leap/bitmask/app.py \ No newline at end of file diff --git a/pkg/pyinst/bitmask.spec b/pkg/pyinst/bitmask.spec new file mode 100644 index 00000000..efdbf167 --- /dev/null +++ b/pkg/pyinst/bitmask.spec @@ -0,0 +1,59 @@ +# -*- mode: python -*- +a = Analysis(['pkg/pyinst/bitmask.py'], + pathex=['/home/kali/Virtualenvs/leap-pyinst/lib/python2.7/site-packages/zope', '/home/kali/Virtualenvs/leap-pyinst/lib/python2.7/site-packages/zope/interface', '/home/kali/Virtualenvs/leap-pyinst/lib/python2.7/site-packages/zope/proxy', '/home/kali/leap/bitmask_client/src/leap/bitmask'], + hiddenimports=[ + 'zope.interface', 'zope.proxy', + 'leap.common', + 'leap.common.config', + 'PySide.QtCore', 'PySide.QtGui', + # not needed with latest develop pyinstaller + 'cryptography.hazmat.bindings.openssl', + 'cryptography.hazmat.bindings.openssl.aes', + 'cryptography.hazmat.bindings.openssl.asn1', + 'cryptography.hazmat.bindings.openssl.bignum', + 'cryptography.hazmat.bindings.openssl.bio', + 'cryptography.hazmat.bindings.openssl.cmac', + 'cryptography.hazmat.bindings.openssl.cms', + 'cryptography.hazmat.bindings.openssl.conf', + 'cryptography.hazmat.bindings.openssl.crypto', + 'cryptography.hazmat.bindings.openssl.dh', + 'cryptography.hazmat.bindings.openssl.dsa', + 'cryptography.hazmat.bindings.openssl.ec', + 'cryptography.hazmat.bindings.openssl.ecdh', + 'cryptography.hazmat.bindings.openssl.ecdsa', + 'cryptography.hazmat.bindings.openssl.engine', + 'cryptography.hazmat.bindings.openssl.err', + 'cryptography.hazmat.bindings.openssl.evp', + 'cryptography.hazmat.bindings.openssl.hmac', + 'cryptography.hazmat.bindings.openssl.nid', + 'cryptography.hazmat.bindings.openssl.objects', + 'cryptography.hazmat.bindings.openssl.opensslv', + 'cryptography.hazmat.bindings.openssl.osrandom_engine', + 'cryptography.hazmat.bindings.openssl.pem', + 'cryptography.hazmat.bindings.openssl.pkcs12', + 'cryptography.hazmat.bindings.openssl.pkcs7', + 'cryptography.hazmat.bindings.openssl.rand', + 'cryptography.hazmat.bindings.openssl.rsa', + 'cryptography.hazmat.bindings.openssl.ssl', + 'cryptography.hazmat.bindings.openssl.x509name', + 'cryptography.hazmat.bindings.openssl.x509', + 'cryptography.hazmat.bindings.openssl.x509v3', + 'cryptography.hazmat.bindings.openssl.x509_vfy'], + hookspath=None, + runtime_hooks=None) +pyz = PYZ(a.pure) +exe = EXE(pyz, + a.scripts, + exclude_binaries=True, + name='bitmask', + debug=False, + strip=None, + upx=True, + console=True ) +coll = COLLECT(exe, + a.binaries, + a.zipfiles, + a.datas, + strip=None, + upx=True, + name='bitmask') -- cgit v1.2.3