File tree 1 file changed +4
-4
lines changed
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):
541
541
if package .name .lower () == 'pyqt5' :
542
542
# see http://code.activestate.com/lists/python-list/666469/
543
543
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'''
546
546
547
547
else :
548
548
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'''
551
551
552
552
self .create_file (package , 'pyuic%s.bat' % package .name [- 1 ],
553
553
'Scripts' , tmp_string .replace ('package.name' , package .name ))
You can’t perform that action at this time.
0 commit comments