diff options
-rw-r--r-- | Makefile | 2 | ||||
l--------- | pkg/pyinst/bitmask.py | 1 | ||||
-rw-r--r-- | pkg/pyinst/bitmask.spec | 59 |
3 files changed, 62 insertions, 0 deletions
@@ -135,6 +135,8 @@ sumo_tarball: python setup.py sdist --sumo git checkout -- src/leap/__init__.py rm -rf src/leap/soledad +pyinst: + pyinstaller pkg/pyinst/bitmask.spec clean : $(RM) $(COMPILED_UI) $(COMPILED_RESOURCES) $(COMPILED_UI:.py=.pyc) $(COMPILED_RESOURCES:.py=.pyc) 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') |