changeset 5301:3c10ce089d7c

Add pthon path to launch script files * installer-files/cmdshell.bat, installer-files/octave-firsttime.vbs, installer-files/octave.bat, installer-files/octave.vbs: add python dir path
author John Donoghue
date Mon, 10 Feb 2020 15:40:22 -0500
parents 561da151205e
children 8a3c205357f1
files installer-files/cmdshell.bat installer-files/octave-firsttime.vbs installer-files/octave.bat installer-files/octave.vbs
diffstat 4 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/installer-files/cmdshell.bat	Mon Feb 10 15:40:21 2020 -0500
+++ b/installer-files/cmdshell.bat	Mon Feb 10 15:40:22 2020 -0500
@@ -26,7 +26,7 @@
 
 Rem   Set up PATH. Make sure the octave bin dir
 Rem   comes first.
-set PATH=%OCTAVE_HOME%qt5\bin;%OCTAVE_HOME%bin;%PATH%
+set PATH=%OCTAVE_HOME%qt5\bin;%OCTAVE_HOME%bin;%OCTAVE_HOME%python;%PATH%
 set TERM=cygwin
 set GS=gs.exe
 set GNUTERM=wxt
--- a/installer-files/octave-firsttime.vbs	Mon Feb 10 15:40:21 2020 -0500
+++ b/installer-files/octave-firsttime.vbs	Mon Feb 10 15:40:22 2020 -0500
@@ -28,6 +28,7 @@
 
 ' set up path to ensure octave bin comes first
 Set wshSystemEnv = wshShell.Environment( "PROCESS" )
+wshSystemEnv("PATH") = OctavePath & "\python;" & wshSystemEnv("PATH")
 if OctavePath <> MSysPath Then
   wshSystemEnv("PATH") = MSysPath  & "\bin;" & wshSystemEnv("PATH")
 End If
--- a/installer-files/octave.bat	Mon Feb 10 15:40:21 2020 -0500
+++ b/installer-files/octave.bat	Mon Feb 10 15:40:22 2020 -0500
@@ -26,7 +26,7 @@
  
 Rem   Set up PATH.  Make sure the octave bin dir comes first.
 
-set PATH=%OCT_HOME%qt5\bin;%OCT_HOME%bin;%MSYSPATH%bin;%PATH%
+set PATH=%OCT_HOME%qt5\bin;%OCT_HOME%bin;%MSYSPATH%bin;%OCT_HOME%python;%PATH%
 
 Rem   Set up any environment vars we may need.
 
--- a/installer-files/octave.vbs	Mon Feb 10 15:40:21 2020 -0500
+++ b/installer-files/octave.vbs	Mon Feb 10 15:40:22 2020 -0500
@@ -28,6 +28,7 @@
 
 ' set up path to ensure octave bin comes first
 Set wshSystemEnv = wshShell.Environment( "PROCESS" )
+wshSystemEnv("PATH") = OctavePath & "\python;" & wshSystemEnv("PATH")
 if OctavePath <> MSysPath Then
   wshSystemEnv("PATH") = MSysPath  & "\bin;" & wshSystemEnv("PATH")
 End If