summaryrefslogtreecommitdiff
path: root/pkg/pyinst
diff options
context:
space:
mode:
authorkali <kali@leap.se>2017-12-11 00:04:20 -0800
committerKali Kaneko <kali@leap.se>2017-12-20 15:36:25 +0100
commitce351c5c1c29adb18f2afed701dba8bbfaeb65ac (patch)
treec19d7baf6dc4f9ec6ad4433e6f08ca931238e3eb /pkg/pyinst
parentfc46fff673661be3a296cb0cf307d517b31ada1f (diff)
[pkg] import changes for qt5 to work
Diffstat (limited to 'pkg/pyinst')
-rw-r--r--pkg/pyinst/app.spec6
1 files changed, 4 insertions, 2 deletions
diff --git a/pkg/pyinst/app.spec b/pkg/pyinst/app.spec
index c40fe9d3..db0a1212 100644
--- a/pkg/pyinst/app.spec
+++ b/pkg/pyinst/app.spec
@@ -44,8 +44,9 @@ if IS_WIN:
elif IS_MAC:
hiddenimports.extend(['pywebview', 'pyobjc'])
hiddenimports.extend(
- ['PyQt5.QtCore', 'PyQt5.QtGui', 'PyQt5.QtWidgets',
+ ['PyQt5.QtWidgets', 'PyQt5.QtCore',
'leap.bitmask.gui.icons_rc'])
+ print "Added PyQt5 to the venv"
excludes = ['IPython', 'PySide']
else:
hiddenimports.extend(
@@ -64,7 +65,8 @@ else:
a = Analysis(ENTRYPOINT,
pathex=[
- '/usr/lib/python2.7/dist-packages/'],
+ '/usr/lib/python2.7/dist-packages/',
+ '/usr/local/lib/python2.7/site-packages/'],
binaries=None,
datas=None,
hiddenimports=hiddenimports,