@@ -521,7 +521,7 @@ def _create_launchers(self):
521521 # command='$SYSDIR\cmd.exe',
522522 # args= r'/k IDLEX_for_student.bat %*',
523523 # workdir='$EXEDIR\scripts')
524- self .create_launcher ('IDLEX (Python GUI).exe' , 'python.ico' ,
524+ self .create_launcher ('IDLE (Python GUI).exe' , 'python.ico' ,
525525 command = 'wscript.exe' ,
526526 args = r'Noshell.vbs winidlex.bat' )
527527
@@ -560,6 +560,10 @@ def _create_launchers(self):
560560 command = '$SYSDIR\cmd.exe' ,
561561 args = r'/k winjupyter_lab.bat' )
562562
563+ self .create_launcher ('Pyzo.exe' , 'pyzologo.ico' ,
564+ command = 'wscript.exe' ,
565+ args = r'Noshell.vbs winpyzo.bat' )
566+
563567 self ._print_done ()
564568
565569 def _create_batch_scripts_initial (self ):
@@ -1103,6 +1107,20 @@ def _create_batch_scripts(self):
11031107"%WINPYDIR%\python.exe" -m pip install --upgrade pip
11041108"%WINPYDIR%\python.exe" -c "from winpython import wppm;dist=wppm.Distribution(r'%WINPYDIR%');dist.patch_standard_packages('pip', to_movable=True)
11051109pause
1110+ """ )
1111+
1112+ self .create_batch_script ('winpyzo.bat' ,r"""@echo off
1113+ call "%~dp0env_for_icons.bat"
1114+ mkdir %HOME%\.pyzo
1115+ if exist "%HOME%\.pyzo\config.ssdf" goto after_create
1116+ set tmp_pyz="%HOME%\.pyzo\config.ssdf"
1117+ echo shellConfigs2 = list:>>%tmp_pyz%
1118+ echo dict:>>%tmp_pyz%
1119+ echo name = 'Python'>>%tmp_pyz%
1120+ echo exe = '.\\python.exe'>>%tmp_pyz%
1121+ :after_create
1122+ cd/D "%WINPYDIR%"
1123+ "%WINPYDIR%\scripts\pyzo.exe" %*
11061124""" )
11071125
11081126 # pre-run mingw batch
0 commit comments