@@ -517,14 +517,14 @@ def _create_launchers(self):
517517 command = '$SYSDIR\cmd.exe' ,
518518 args = r'/k winpython.bat' )
519519
520- #self.create_launcher('IDLEX (students).exe', 'python.ico',
521- # command='$SYSDIR\cmd.exe',
522- # args= r'/k IDLEX_for_student.bat %*',
523- # workdir='$EXEDIR\scripts')
524- self .create_launcher ('IDLE (Python GUI).exe' , 'python.ico' ,
520+ self .create_launcher ('IDLEX.exe' , 'python.ico' ,
525521 command = 'wscript.exe' ,
526522 args = r'Noshell.vbs winidlex.bat' )
527523
524+ self .create_launcher ('IDLE (Python GUI).exe' , 'python.ico' ,
525+ command = 'wscript.exe' ,
526+ args = r'Noshell.vbs winidle.bat' )
527+
528528 self .create_launcher ('Spyder.exe' , 'spyder.ico' ,
529529 command = 'wscript.exe' ,
530530 args = r'Noshell.vbs winspyder.bat' )
@@ -1068,6 +1068,11 @@ def _create_batch_scripts(self):
10681068)
10691069""" )
10701070
1071+ self .create_batch_script ('idle.bat' ,r"""@echo off
1072+ call "%~dp0env_for_icons.bat"
1073+ "%WINPYDIR%\python.exe" "%WINPYDIR%\Lib\idlelib\idle.pyw" %*
1074+
1075+ """ )
10711076 self .create_batch_script ('winidlex.bat' ,r"""@echo off
10721077call "%~dp0env_for_icons.bat"
10731078cd/D "%WINPYWORKDIR%"
@@ -1078,6 +1083,12 @@ def _create_batch_scripts(self):
10781083 "%WINPYDIR%\python.exe" "%WINPYDIR%\Lib\idlelib\idle.pyw" %*
10791084)
10801085""" )
1086+ self .create_batch_script ('winidle.bat' ,r"""@echo off
1087+ call "%~dp0env_for_icons.bat"
1088+ cd/D "%WINPYWORKDIR%"
1089+ "%WINPYDIR%\python.exe" "%WINPYDIR%\Lib\idlelib\idle.pyw" %*
1090+ """ )
1091+
10811092 self .create_batch_script ('spyder.bat' ,r"""@echo off
10821093call "%~dp0env_for_icons.bat"
10831094cd/D "%WINPYWORKDIR%"
0 commit comments