File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -541,13 +541,13 @@ def handle_specific_packages(self, package):
541541 if package .name .lower () == 'pyqt5' :
542542 # see http://code.activestate.com/lists/python-list/666469/
543543 tmp_string = r'''@echo off
544- if "%WINPYDIR%"=="" call %~dp0..\..\scripts\env.bat
545- python -m PyQt5.uic.pyuic %1 %2 %3 %4 %5 %6 %7 %8 %9'''
544+ if "%WINPYDIR%"=="" call " %~dp0..\..\scripts\env.bat"
545+ "%WINPYDIR%\ python.exe" -m PyQt5.uic.pyuic %1 %2 %3 %4 %5 %6 %7 %8 %9'''
546546
547547 else :
548548 tmp_string = r'''@echo off
549- if "%WINPYDIR%"=="" call %~dp0..\..\scripts\env.bat
550- python "%WINPYDIR%\Lib\site-packages\package.name\uic\pyuic.py" %1 %2 %3 %4 %5 %6 %7 %8 %9'''
549+ if "%WINPYDIR%"=="" call " %~dp0..\..\scripts\env.bat"
550+ "%WINPYDIR%\ python.exe" "%WINPYDIR%\Lib\site-packages\package.name\uic\pyuic.py" %1 %2 %3 %4 %5 %6 %7 %8 %9'''
551551
552552 self .create_file (package , 'pyuic%s.bat' % package .name [- 1 ],
553553 'Scripts' , tmp_string .replace ('package.name' , package .name ))
You can’t perform that action at this time.
0 commit comments