@@ -506,11 +506,11 @@ def _create_launchers(self):
506506 # workdir='$EXEDIR\scripts')
507507 self .create_launcher ('IDLEX (Python GUI).exe' , 'python.ico' ,
508508 command = 'wscript.exe' ,
509- args = r'Noshell.vbs IDLEX .bat' )
509+ args = r'Noshell.vbs winidlex .bat' )
510510
511511 self .create_launcher ('Spyder.exe' , 'spyder.ico' ,
512512 command = 'wscript.exe' ,
513- args = r'Noshell.vbs spyder .bat' )
513+ args = r'Noshell.vbs winspyder .bat' )
514514
515515 self .create_launcher ('Spyder reset.exe' , 'spyder_reset.ico' ,
516516 command = 'wscript.exe' ,
@@ -532,12 +532,12 @@ def _create_launchers(self):
532532 # Jupyter launchers
533533 self .create_launcher ('IPython Qt Console.exe' , 'ipython.ico' ,
534534 command = 'wscript.exe' ,
535- args = r'Noshell.vbs qtconsole .bat' )
535+ args = r'Noshell.vbs winqtconsole .bat' )
536536
537537 # this one needs a shell to kill fantom processes
538538 self .create_launcher ('Jupyter Notebook.exe' , 'jupyter.ico' ,
539539 command = '$SYSDIR\cmd.exe' ,
540- args = r'/k ipython_notebook .bat' )
540+ args = r'/k winipython_notebook .bat' )
541541
542542 self ._print_done ()
543543
@@ -889,7 +889,6 @@ def _create_batch_scripts(self):
889889
890890 self .create_batch_script ('idlex.bat' ,r"""@echo off
891891call "%~dp0env_for_icons.bat"
892- cd/D "%WINPYWORKDIR%"
893892rem backward compatibility for non-IDLEX users
894893if exist "%WINPYDIR%\scripts\idlex.pyw" (
895894 "%WINPYDIR%\python.exe" "%WINPYDIR%\scripts\idlex.pyw" %*
@@ -898,10 +897,25 @@ def _create_batch_scripts(self):
898897)
899898""" )
900899
900+ self .create_batch_script ('winidlex.bat' ,r"""@echo off
901+ call "%~dp0env_for_icons.bat"
902+ cd/D "%WINPYWORKDIR%"
903+ rem backward compatibility for non-IDLEX users
904+ if exist "%WINPYDIR%\scripts\idlex.pyw" (
905+ "%WINPYDIR%\python.exe" "%WINPYDIR%\scripts\idlex.pyw" %*
906+ ) else (
907+ "%WINPYDIR%\python.exe" "%WINPYDIR%\Lib\idlelib\idle.pyw" %*
908+ )
909+ """ )
901910 self .create_batch_script ('spyder.bat' ,r"""@echo off
902911call "%~dp0env_for_icons.bat"
903912cd/D "%WINPYWORKDIR%"
904913"%WINPYDIR%\scripts\spyder.exe" %*
914+ """ )
915+ self .create_batch_script ('winspyder.bat' ,r"""@echo off
916+ call "%~dp0env_for_icons.bat"
917+ cd/D "%WINPYWORKDIR%"
918+ "%WINPYDIR%\scripts\spyder.exe" %*
905919""" )
906920
907921 self .create_batch_script ('spyder_reset.bat' ,r"""@echo off
@@ -914,6 +928,12 @@ def _create_batch_scripts(self):
914928call "%~dp0env_for_icons.bat"
915929cd/D "%WINPYWORKDIR%"
916930"%WINPYDIR%\scripts\jupyter-notebook.exe" %*
931+ """ )
932+
933+ self .create_batch_script ('winipython_notebook.bat' ,r"""@echo off
934+ call "%~dp0env_for_icons.bat"
935+ cd/D "%WINPYWORKDIR%"
936+ "%WINPYDIR%\scripts\jupyter-notebook.exe" %*
917937""" )
918938
919939 self .create_batch_script ('qtconsole.bat' ,r"""@echo off
@@ -922,6 +942,13 @@ def _create_batch_scripts(self):
922942"%WINPYDIR%\scripts\jupyter-qtconsole.exe" %*
923943""" )
924944
945+
946+ self .create_batch_script ('winqtconsole.bat' ,r"""@echo off
947+ call "%~dp0env_for_icons.bat"
948+ cd/D "%WINPYWORKDIR%"
949+ "%WINPYDIR%\scripts\jupyter-qtconsole.exe" %*
950+ """ )
951+
925952 self .create_batch_script ('qtdemo.bat' ,r"""@echo off
926953call "%~dp0env_for_icons.bat"
927954cd/D "%WINPYWORKDIR%"
0 commit comments