@@ -506,11 +506,11 @@ def _create_launchers(self):
506
506
# workdir='$EXEDIR\scripts')
507
507
self .create_launcher ('IDLEX (Python GUI).exe' , 'python.ico' ,
508
508
command = 'wscript.exe' ,
509
- args = r'Noshell.vbs IDLEX .bat' )
509
+ args = r'Noshell.vbs winidlex .bat' )
510
510
511
511
self .create_launcher ('Spyder.exe' , 'spyder.ico' ,
512
512
command = 'wscript.exe' ,
513
- args = r'Noshell.vbs spyder .bat' )
513
+ args = r'Noshell.vbs winspyder .bat' )
514
514
515
515
self .create_launcher ('Spyder reset.exe' , 'spyder_reset.ico' ,
516
516
command = 'wscript.exe' ,
@@ -532,12 +532,12 @@ def _create_launchers(self):
532
532
# Jupyter launchers
533
533
self .create_launcher ('IPython Qt Console.exe' , 'ipython.ico' ,
534
534
command = 'wscript.exe' ,
535
- args = r'Noshell.vbs qtconsole .bat' )
535
+ args = r'Noshell.vbs winqtconsole .bat' )
536
536
537
537
# this one needs a shell to kill fantom processes
538
538
self .create_launcher ('Jupyter Notebook.exe' , 'jupyter.ico' ,
539
539
command = '$SYSDIR\cmd.exe' ,
540
- args = r'/k ipython_notebook .bat' )
540
+ args = r'/k winipython_notebook .bat' )
541
541
542
542
self ._print_done ()
543
543
@@ -889,7 +889,6 @@ def _create_batch_scripts(self):
889
889
890
890
self .create_batch_script ('idlex.bat' ,r"""@echo off
891
891
call "%~dp0env_for_icons.bat"
892
- cd/D "%WINPYWORKDIR%"
893
892
rem backward compatibility for non-IDLEX users
894
893
if exist "%WINPYDIR%\scripts\idlex.pyw" (
895
894
"%WINPYDIR%\python.exe" "%WINPYDIR%\scripts\idlex.pyw" %*
@@ -898,10 +897,25 @@ def _create_batch_scripts(self):
898
897
)
899
898
""" )
900
899
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
+ """ )
901
910
self .create_batch_script ('spyder.bat' ,r"""@echo off
902
911
call "%~dp0env_for_icons.bat"
903
912
cd/D "%WINPYWORKDIR%"
904
913
"%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" %*
905
919
""" )
906
920
907
921
self .create_batch_script ('spyder_reset.bat' ,r"""@echo off
@@ -914,6 +928,12 @@ def _create_batch_scripts(self):
914
928
call "%~dp0env_for_icons.bat"
915
929
cd/D "%WINPYWORKDIR%"
916
930
"%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" %*
917
937
""" )
918
938
919
939
self .create_batch_script ('qtconsole.bat' ,r"""@echo off
@@ -922,6 +942,13 @@ def _create_batch_scripts(self):
922
942
"%WINPYDIR%\scripts\jupyter-qtconsole.exe" %*
923
943
""" )
924
944
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
+
925
952
self .create_batch_script ('qtdemo.bat' ,r"""@echo off
926
953
call "%~dp0env_for_icons.bat"
927
954
cd/D "%WINPYWORKDIR%"
0 commit comments