浏览代码

Stop using PyQt5 5.15.3, 5.15.4 that won't work with pyinstaller

Kentaro Wada 3 年之前
父节点
当前提交
bdc322a925
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      setup.py

+ 2 - 1
setup.py

@@ -73,7 +73,8 @@ def get_install_requires():
                 sys.exit(1)
             assert PY3
             # PyQt5 can be installed via pip for Python3
-            install_requires.append("PyQt5")
+            # 5.15.3, 5.15.4 won't work with PyInstaller
+            install_requires.append("PyQt5!=5.15.3,!=5.15.4")
             QT_BINDING = "pyqt5"
     del QT_BINDING