Skip to content

Commit 1a0f782

Browse files
author
stonebig
committed
PyQt5 bugfix
1 parent 54beb6c commit 1a0f782

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

winpython/wppm.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,10 @@ def install_nsis_package(self, package):
603603

604604
self._print(package, "Installing")
605605
self.copy_files(package, targetdir, 'Lib', 'Lib')
606-
if bname.startswith('PyQt'):
606+
if bname.startswith('PyQt5'):
607+
# PyQt5
608+
outdir = osp.join('Lib', 'site-packages', 'PyQt5')
609+
elif bname.startswith('PyQt'):
607610
# PyQt4
608611
outdir = osp.join('Lib', 'site-packages', 'PyQt4')
609612
else:

0 commit comments

Comments
 (0)