From fc46fff673661be3a296cb0cf307d517b31ada1f Mon Sep 17 00:00:00 2001 From: kali Date: Sat, 9 Dec 2017 13:37:04 -0800 Subject: [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. --- pkg/pyinst/app.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'pkg/pyinst') 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', '') -- cgit v1.2.3