From 40debc7182d9a20cc2a1ec2b6a162a065a3183c0 Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Tue, 27 Sep 2016 14:33:39 -0400 Subject: [pkg] some bundling hacks --- pkg/pyinst/Makefile | 9 +++++++-- pkg/pyinst/app.spec | 5 ++++- 2 files changed, 11 insertions(+), 3 deletions(-) (limited to 'pkg/pyinst') diff --git a/pkg/pyinst/Makefile b/pkg/pyinst/Makefile index 72d19ae3..41599a47 100644 --- a/pkg/pyinst/Makefile +++ b/pkg/pyinst/Makefile @@ -1,5 +1,10 @@ +build: clean + pyinstaller -y app.spec + cp $(VIRTUAL_ENV)/lib/python2.7/site-packages/_scrypt.so dist/bitmask/ + cp ../../src/leap/bitmask/core/bitmaskd.tac dist/bitmask + mkdir dist/bitmask/leap + cp -r $(VIRTUAL_ENV)/lib/python2.7/site-packages/leap/bitmask_js/ dist/bitmask/leap + clean: rm -rf dist build -build: clean - pyinstaller -y app.spec diff --git a/pkg/pyinst/app.spec b/pkg/pyinst/app.spec index bca9e431..e6304391 100644 --- a/pkg/pyinst/app.spec +++ b/pkg/pyinst/app.spec @@ -9,10 +9,13 @@ a = Analysis(['../../src/leap/bitmask/gui/app.py'], binaries=None, datas=None, hiddenimports=[ + 'scrypt', 'zope.interface', 'zope.proxy', 'PyQt5.QtCore', 'PyQt5.QtGui', 'PyQt5.QtWebKit', 'pysqlcipher', 'service_identity', - 'leap.common', 'leap.bitmask' + 'leap.common', 'leap.bitmask', + 'leap.bitmask.core.logs', + 'leap.bitmask_js', ], hookspath=[], runtime_hooks=[], -- cgit v1.2.3