@@ -521,7 +521,7 @@ def _create_launchers(self):
521
521
# command='$SYSDIR\cmd.exe',
522
522
# args= r'/k IDLEX_for_student.bat %*',
523
523
# workdir='$EXEDIR\scripts')
524
- self .create_launcher ('IDLEX (Python GUI).exe' , 'python.ico' ,
524
+ self .create_launcher ('IDLE (Python GUI).exe' , 'python.ico' ,
525
525
command = 'wscript.exe' ,
526
526
args = r'Noshell.vbs winidlex.bat' )
527
527
@@ -560,6 +560,10 @@ def _create_launchers(self):
560
560
command = '$SYSDIR\cmd.exe' ,
561
561
args = r'/k winjupyter_lab.bat' )
562
562
563
+ self .create_launcher ('Pyzo.exe' , 'pyzologo.ico' ,
564
+ command = 'wscript.exe' ,
565
+ args = r'Noshell.vbs winpyzo.bat' )
566
+
563
567
self ._print_done ()
564
568
565
569
def _create_batch_scripts_initial (self ):
@@ -1103,6 +1107,20 @@ def _create_batch_scripts(self):
1103
1107
"%WINPYDIR%\python.exe" -m pip install --upgrade pip
1104
1108
"%WINPYDIR%\python.exe" -c "from winpython import wppm;dist=wppm.Distribution(r'%WINPYDIR%');dist.patch_standard_packages('pip', to_movable=True)
1105
1109
pause
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" %*
1106
1124
""" )
1107
1125
1108
1126
# pre-run mingw batch
0 commit comments