Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion winpython/wppm.py
Original file line number Diff line number Diff line change
Expand Up @@ -449,7 +449,13 @@ def handle_specific_packages(self, package):
self.create_file(package, name, '.',
contents.replace('.', './Lib/site-packages/%s' % package.name))
# pyuic script
tmp_string = r'''@echo off
if package.name.lower() == 'pyqt5':
# see http://code.activestate.com/lists/python-list/666469/
tmp_string = r'''@echo off
python -m PyQt5.uic.pyuic %1 %2 %3 %4 %5 %6 %7 %8 %9'''

else:
tmp_string = r'''@echo off
python "%WINPYDIR%\Lib\site-packages\package.name\uic\pyuic.py" %1 %2 %3 %4 %5 %6 %7 %8 %9'''

self.create_file(package, 'pyuic%s.bat' % package.name[-1],
Expand Down