8000 fix pyuic issue · Aikes/winpython@d22f17e · GitHub
[go: up one dir, main page]

Skip to content

Commit d22f17e

Browse files
author
stonebig
committed
fix pyuic issue
1 parent 19f54b6 commit d22f17e

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

winpython/wppm.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -520,10 +520,12 @@ def handle_specific_packages(self, package):
520520
if package.name.lower() == 'pyqt5':
521521
# see http://code.activestate.com/lists/python-list/666469/
522522
tmp_string = r'''@echo off
523+
if "%WINPYDIR%"=="" call %~dp0..\..\scripts\env.bat
523524
python -m PyQt5.uic.pyuic %1 %2 %3 %4 %5 %6 %7 %8 %9'''
524525

525526
else:
526527
tmp_string = r'''@echo off
528+
if "%WINPYDIR%"=="" call %~dp0..\..\scripts\env.bat
527529
python "%WINPYDIR%\Lib\site-packages\package.name\uic\pyuic.py" %1 %2 %3 %4 %5 %6 %7 %8 %9'''
528530

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

0 commit comments

Comments
 (0)
0