diff options
-rw-r--r-- | pkg/pyinst/app.spec | 7 |
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', '') |