Skip to content

Commit be33fc9

Browse files
author
stonebig
committed
IDLEX out, PYZO in
1 parent 7e2afe0 commit be33fc9

File tree

3 files changed

+22
-1
lines changed

3 files changed

+22
-1
lines changed

make.py

+19-1
Original file line numberDiff line numberDiff line change
@@ -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)
11051109
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" %*
11061124
""")
11071125

11081126
# pre-run mingw batch

portable/icons/pyzologo.ico

102 KB
Binary file not shown.

winpython/data/packages.ini

+3
Original file line numberDiff line numberDiff line change
@@ -1199,6 +1199,9 @@ description=Interactive 3d graphics for the Jupyter notebook, using Three.js fro
11991199
[pytools]
12001200
description=A collection of tools for Python
12011201
1202+
[pytorch]
1203+
description=a deep learning framework.
1204+
12021205
[pytz]
12031206
description=World Timezone Definitions for Python
12041207

0 commit comments

Comments
 (0)