@@ -144,11 +144,6 @@ def get_tool_path(relpath, checkfunc):
144
144
if get_tool_path (r'\tools\SciTE.exe' , osp .isfile ):
145
145
installed_tools += [('SciTE' , '3.3.7' )]
146
146
147
- gccpath = get_tool_path (self .MINGW32_PATH , osp .isdir )
148
- if gccpath is not None :
149
- gccver = utils .get_gcc_version (gccpath )
150
- installed_tools += [('MinGW32' , gccver )]
151
-
152
147
rpath = get_tool_path (self .R_PATH , osp .isdir )
153
148
if rpath is not None :
154
149
rver = utils .get_r_version (rpath )
@@ -308,7 +303,7 @@ def create_batch_script(self, name, contents):
308
303
fd .close ()
309
304
310
305
def create_launcher (self , name , icon , command = None ,
311
- args = None , workdir = None ,
306
+ args = None , workdir = r'$EXEDIR\scripts' ,
312
307
launcher = 'launcher_basic.nsi' ):
313
308
"""Create exe launcher with NSIS"""
314
309
assert name .endswith ('.exe' )
@@ -495,70 +490,58 @@ def _create_launchers(self):
495
490
self ._print ("Creating launchers" )
496
491
self .create_launcher ('WinPython Command Prompt.exe' , 'cmd.ico' ,
497
492
command = '$SYSDIR\cmd.exe' ,
498
- args = r'/k cmd.bat' ,
499
- workdir = '$EXEDIR\scripts' )
493
+ args = r'/k cmd.bat' )
500
494
501
495
self .create_launcher ('WinPython Interpreter.exe' , 'python.ico' ,
502
496
command = '$SYSDIR\cmd.exe' ,
503
- args = r'/k python.bat' ,
504
- workdir = '$EXEDIR\scripts' )
497
+ args = r'/k python.bat' )
505
498
506
499
#self.create_launcher('IDLEX (students).exe', 'python.ico',
507
500
# command='$SYSDIR\cmd.exe',
508
501
# args= r'/k IDLEX_for_student.bat %*',
509
502
# workdir='$EXEDIR\scripts')
510
503
self .create_launcher ('IDLEX (Python GUI).exe' , 'python.ico' ,
511
504
command = 'wscript.exe' ,
512
- args = r'Noshell.vbs IDLEX.bat' ,
513
- workdir = '$EXEDIR\scripts' )
505
+ args = r'Noshell.vbs IDLEX.bat' )
514
506
515
507
self .create_launcher ('Spyder.exe' , 'spyder.ico' ,
516
508
command = 'wscript.exe' ,
517
- args = r'Noshell.vbs spyder.bat' ,
518
- workdir = '$EXEDIR\Scripts' )
509
+ args = r'Noshell.vbs spyder.bat' )
519
510
520
511
self .create_launcher ('Spyder reset.exe' , 'spyder_reset.ico' ,
521
512
command = 'wscript.exe' ,
522
- args = r'Noshell.vbs spyder_reset.bat' ,
523
- workdir = '$EXEDIR\Scripts' )
513
+ args = r'Noshell.vbs spyder_reset.bat' )
524
514
525
515
self .create_launcher ('WinPython Control Panel.exe' , 'winpython.ico' ,
526
516
command = 'wscript.exe' ,
527
- args = r'Noshell.vbs wpcp.bat' ,
528
- workdir = '$EXEDIR\Scripts' )
517
+ args = r'Noshell.vbs wpcp.bat' )
529
518
530
519
# Multi-Qt launchers (Qt5 has priority if found)
531
520
self .create_launcher ('Qt Demo.exe' , 'qt.ico' ,
532
521
command = 'wscript.exe' ,
533
- args = r'Noshell.vbs qtdemo.bat' ,
534
- workdir = '$EXEDIR\Scripts' )
522
+ args = r'Noshell.vbs qtdemo.bat' )
535
523
536
524
self .create_launcher ('Qt Assistant.exe' , 'qtassistant.ico' ,
537
525
command = 'wscript.exe' ,
538
- args = r'Noshell.vbs qtassistant.bat' ,
539
- workdir = '$EXEDIR\Scripts' )
526
+ args = r'Noshell.vbs qtassistant.bat' )
540
527
541
528
self .create_launcher ('Qt Designer.exe' , 'qtdesigner.ico' ,
542
529
command = 'wscript.exe' ,
543
- args = r'Noshell.vbs qtdesigner.bat' ,
544
- workdir = '$EXEDIR\Scripts' )
530
+ args = r'Noshell.vbs qtdesigner.bat' )
545
531
546
532
self .create_launcher ('Qt Linguist.exe' , 'qtlinguist.ico' ,
547
533
command = 'wscript.exe' ,
548
- args = r'Noshell.vbs qtlinguist.bat' ,
549
- workdir = '$EXEDIR\Scripts' )
534
+ args = r'Noshell.vbs qtlinguist.bat' )
550
535
551
536
# Jupyter launchers
552
537
self .create_launcher ('IPython Qt Console.exe' , 'ipython.ico' ,
553
538
command = 'wscript.exe' ,
554
- args = r'Noshell.vbs qtconsole.bat' ,
555
- workdir = '$EXEDIR\Scripts' )
539
+ args = r'Noshell.vbs qtconsole.bat' )
556
540
557
541
# this one needs a shell to kill fantom processes
558
542
self .create_launcher ('Jupyter Notebook.exe' , 'jupyter.ico' ,
559
543
command = '$SYSDIR\cmd.exe' ,
560
- args = r'/k ipython_notebook.bat' ,
561
- workdir = '$EXEDIR\Scripts' )
544
+ args = r'/k ipython_notebook.bat' )
562
545
563
546
self ._print_done ()
564
547
0 commit comments