@@ -551,14 +551,11 @@ def _create_launchers(self):
551
551
552
552
553
553
if osp .isfile (osp .join (self .python_dir , 'Scripts' , 'jupyter.exe' )):
554
- #self.create_launcher('IPython Qt Console.exe', 'ipython.ico',
555
- # command='${WINPYDIR}\python.exe',
556
- # args='${WINPYDIR}\Scripts\jupyter-qtconsole',
557
- # workdir=r'${WINPYDIR}\..\notebooks')
558
554
self .create_launcher ('IPython Qt Console.exe' , 'ipython.ico' ,
559
- command = '$SYSDIR\cmd.exe' ,
560
- args = r'/k jupyter_start_qtconsole.bat' ,
561
- workdir = r'${WINPYDIR}\..\Scripts' )
555
+ command = '${WINPYDIR}\Scripts\%s' %
556
+ 'jupyter-qtconsole.exe' ,
557
+ workdir = r'${WINPYDIR}\..\notebooks' )
558
+
562
559
self .create_launcher ('Jupyter Notebook.exe' , 'jupyter.ico' ,
563
560
command = '${WINPYDIR}\Scripts\%s' %
564
561
'jupyter-notebook.exe' ,
@@ -687,14 +684,6 @@ def _create_batch_scripts(self):
687
684
self .create_python_batch ('pyqt5_demo.bat' , 'qtdemo.pyw' ,
688
685
workdir = r'Lib\site-packages\PyQt5\examples\qtdemo' )
689
686
690
- #workaround for Jupyter-qtconsole
691
- self .create_batch_script ('jupyter_start_qtconsole.bat' , r"""@echo off
692
- call %~dp0env.bat
693
- cd /D %WINPYDIR%\..\notebooks
694
- %WINPYDIR%\python.exe -c "from qtconsole.qtconsoleapp import main;main()"
695
- """ )
696
-
697
-
698
687
699
688
# pre-run mingw batch
700
689
print ('now pre-running extra mingw' )
0 commit comments