Explorar el Código

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

Kentaro Wada hace 3 años
padre
commit
bdc322a925
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  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