Skip to content

Commit

Permalink
requirements: restrict pyqt5 version due to PyInstaller issue (#862)
Browse files Browse the repository at this point in the history
  • Loading branch information
jopohl authored Apr 21, 2021
1 parent 115b357 commit a9cb440
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions data/pyinstaller_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ def run_pyinstaller(cmd_list: list, env: list=None):
with open("pyinstaller/urh.app/Contents/Info.plist", "rb") as f:
p = plistlib.load(f)
p["NSHighResolutionCapable"] = True
p["NSRequiresAquaSystemAppearance"] = True
with open("pyinstaller/urh.app/Contents/Info.plist", "wb") as f:
plistlib.dump(p, f)

Expand Down
3 changes: 1 addition & 2 deletions data/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
numpy>=1.9; sys_platform != 'win32'
numpy>=1.9,!=1.16.0,!=1.19.4; sys_platform == 'win32'
pyqt5; sys_platform != 'win32'
pyqt5!=5.14.2; sys_platform == 'win32'
pyqt5<5.15.4 # https://github.com/pyinstaller/pyinstaller/issues/5631
psutil
cython!=0.29.18

0 comments on commit a9cb440

Please sign in to comment.