Skip to content

Commit

Permalink
IDLEX out, PYZO in
Browse files Browse the repository at this point in the history
  • Loading branch information
stonebig committed Apr 28, 2018
1 parent 7e2afe0 commit be33fc9
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 1 deletion.
20 changes: 19 additions & 1 deletion make.py
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ def _create_launchers(self):
# command='$SYSDIR\cmd.exe',
# args= r'/k IDLEX_for_student.bat %*',
# workdir='$EXEDIR\scripts')
self.create_launcher('IDLEX (Python GUI).exe', 'python.ico',
self.create_launcher('IDLE (Python GUI).exe', 'python.ico',
command='wscript.exe',
args= r'Noshell.vbs winidlex.bat')

Expand Down Expand Up @@ -560,6 +560,10 @@ def _create_launchers(self):
command='$SYSDIR\cmd.exe',
args=r'/k winjupyter_lab.bat')

self.create_launcher('Pyzo.exe', 'pyzologo.ico',
command='wscript.exe',
args=r'Noshell.vbs winpyzo.bat')

self._print_done()

def _create_batch_scripts_initial(self):
Expand Down Expand Up @@ -1103,6 +1107,20 @@ def _create_batch_scripts(self):
"%WINPYDIR%\python.exe" -m pip install --upgrade pip
"%WINPYDIR%\python.exe" -c "from winpython import wppm;dist=wppm.Distribution(r'%WINPYDIR%');dist.patch_standard_packages('pip', to_movable=True)
pause
""")

self.create_batch_script('winpyzo.bat',r"""@echo off
call "%~dp0env_for_icons.bat"
mkdir %HOME%\.pyzo
if exist "%HOME%\.pyzo\config.ssdf" goto after_create
set tmp_pyz="%HOME%\.pyzo\config.ssdf"
echo shellConfigs2 = list:>>%tmp_pyz%
echo dict:>>%tmp_pyz%
echo name = 'Python'>>%tmp_pyz%
echo exe = '.\\python.exe'>>%tmp_pyz%
:after_create
cd/D "%WINPYDIR%"
"%WINPYDIR%\scripts\pyzo.exe" %*
""")

# pre-run mingw batch
Expand Down
Binary file added portable/icons/pyzologo.ico
Binary file not shown.
3 changes: 3 additions & 0 deletions winpython/data/packages.ini
Original file line number Diff line number Diff line change
Expand Up @@ -1199,6 +1199,9 @@ description=Interactive 3d graphics for the Jupyter notebook, using Three.js fro
[pytools]
description=A collection of tools for Python
[pytorch]
description=a deep learning framework.
[pytz]
description=World Timezone Definitions for Python
Expand Down

1 comment on commit be33fc9

@stonebig
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.