summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorkali <kali@leap.se>2017-12-09 13:37:04 -0800
committerKali Kaneko <kali@leap.se>2017-12-20 15:35:56 +0100
commitfc46fff673661be3a296cb0cf307d517b31ada1f (patch)
tree60dc1d5284e8d3d7d82f578514d29dce93defe53 /pkg
parent5db1cb2bb43640a60186ad8c4055dd2bf6fc98e1 (diff)
[pkg] add pyqt5.qtwidgets to osx imports
not that I really want to keep qt5 for a long time, but this seems the short way to a working systray for the next release.
Diffstat (limited to 'pkg')
-rw-r--r--pkg/pyinst/app.spec7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkg/pyinst/app.spec b/pkg/pyinst/app.spec
index 6e11aa60..c40fe9d3 100644
--- a/pkg/pyinst/app.spec
+++ b/pkg/pyinst/app.spec
@@ -43,12 +43,15 @@ if IS_WIN:
excludes = ['PyQt5']
elif IS_MAC:
hiddenimports.extend(['pywebview', 'pyobjc'])
- excludes = ['PyQt5', 'IPython', 'PySide']
+ hiddenimports.extend(
+ ['PyQt5.QtCore', 'PyQt5.QtGui', 'PyQt5.QtWidgets',
+ 'leap.bitmask.gui.icons_rc'])
+ excludes = ['IPython', 'PySide']
else:
hiddenimports.extend(
['PyQt5.QtCore', 'PyQt5.QtGui', 'PyQt5.QtWebEngine',
'leap.bitmask.gui.icons_rc'])
- excludes = ['PySide']
+ excludes = ['IPython', 'PySide']
VENV = os.environ.get('VIRTUAL_ENV', '')