summaryrefslogtreecommitdiff
path: root/pkg/pyinst
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/pyinst')
-rw-r--r--pkg/pyinst/app.spec5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/pyinst/app.spec b/pkg/pyinst/app.spec
index 9e99d7e9..fa13bf17 100644
--- a/pkg/pyinst/app.spec
+++ b/pkg/pyinst/app.spec
@@ -40,17 +40,16 @@ if IS_WIN:
'packaging.requirements',
'python-gnupg'])
excludes = ['PyQt5']
- QT5PATH = ['']
elif IS_MAC:
hiddenimports.extend(['pywebview', 'pyobjc'])
excludes = ['PyQt5', 'IPython', 'PySide']
- QT5PATH = ['']
else:
hiddenimports.extend(
['PyQt5.QtCore', 'PyQt5.QtGui', 'PyQt5.QtWebEngine',
'leap.bitmask.gui.icons_rc'])
excludes = ['PySide']
+
VENV = os.environ.get('VIRTUAL_ENV', '')
if IS_MAC:
@@ -61,7 +60,7 @@ else:
a = Analysis(ENTRYPOINT,
pathex=[
- '/usr/lib/python2.7/dist-packages/'] + QT5PATH,
+ '/usr/lib/python2.7/dist-packages/'],
binaries=None,
datas=None,
hiddenimports=hiddenimports,