We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaeaef6 commit b594886Copy full SHA for b594886
winpython/wppm.py
@@ -449,7 +449,13 @@ def handle_specific_packages(self, package):
449
self.create_file(package, name, '.',
450
contents.replace('.', './Lib/site-packages/%s' % package.name))
451
# pyuic script
452
- tmp_string = r'''@echo off
+ if package.name.lower() == 'pyqt5':
453
+ # see http://code.activestate.com/lists/python-list/666469/
454
+ tmp_string = r'''@echo off
455
+python -m PyQt5.uic.pyuic %1 %2 %3 %4 %5 %6 %7 %8 %9'''
456
+
457
+ else:
458
459
python "%WINPYDIR%\Lib\site-packages\package.name\uic\pyuic.py" %1 %2 %3 %4 %5 %6 %7 %8 %9'''
460
461
self.create_file(package, 'pyuic%s.bat' % package.name[-1],
0 commit comments