Skip to content

Commit c44fbad

Browse files
Merge pull request #217 from ISISComputingGroup/update_genie_on_latest_target
Update genie modules on non-release install (primarily for system tests)
2 parents 5024ce0 + 80c9aa3 commit c44fbad

File tree

2 files changed

+16
-0
lines changed

2 files changed

+16
-0
lines changed

installation_and_upgrade/instrument_install_latest_build_only.bat

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,14 @@ IF %errorlevel% neq 0 (
8181
GOTO ERROR
8282
)
8383

84+
if not "%1" == "RELEASE" (
85+
call "%~dp0update_genie_python_module.bat" C:\Instrument\Apps\Python3
86+
)
87+
IF %errorlevel% neq 0 (
88+
echo Error %errorlevel% returned from update_genie_python_module.bat
89+
GOTO ERROR
90+
)
91+
8492
call "%~dp0remove_genie_python.bat" %LATEST_PYTHON_DIR%
8593
GOTO :EOF
8694

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
setlocal
2+
set "PYTHONHOME=%1"
3+
set "PYTHONPATH=%PYTHONHOME%"
4+
@echo Updating %PYTHONHOME% to latest versions of genie_python and ibex_bluesky_core
5+
"%PYTHONHOME%\python.exe" -m pip install genie_python[plot]@git+https://github.com/IsisComputingGroup/genie.git@main
6+
if %errorlevel% NEQ 0 EXIT /B %errorlevel%
7+
"%PYTHONHOME%\python.exe" -m pip install ibex_bluesky_core@git+https://github.com/IsisComputingGroup/ibex_bluesky_core.git@main
8+
if %errorlevel% NEQ 0 EXIT /B %errorlevel%

0 commit comments

Comments
 (0)