Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bc42596

Browse files
author
stonebig
committed
Jupyter Lab icon (to make users testing easy)
1 parent 0aa9628 commit bc42596

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

make.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -540,6 +540,10 @@ def _create_launchers(self):
540540
command='$SYSDIR\cmd.exe',
541541
args=r'/k winipython_notebook.bat')
542542

543+
self.create_launcher('Jupyter Lab.exe', 'jupyter.ico',
544+
command='$SYSDIR\cmd.exe',
545+
args=r'/k winjupyter_lab.bat')
546+
543547
self._print_done()
544548

545549
def _create_batch_scripts_initial(self):
@@ -970,6 +974,12 @@ def _create_batch_scripts(self):
970974
call "%~dp0env_for_icons.bat"
971975
cd/D "%WINPYWORKDIR%"
972976
"%WINPYDIR%\scripts\jupyter-notebook.exe" %*
977+
""")
978+
979+
self.create_batch_script('winjupyter_lab.bat',r"""@echo off
980+
call "%~dp0env_for_icons.bat"
981+
cd/D "%WINPYWORKDIR%"
982+
"%WINPYDIR%\scripts\jupyter-lab.exe" %*
973983
""")
974984

975985
self.create_batch_script('qtconsole.bat',r"""@echo off

0 commit comments

Comments
 (0)