Skip to content

Commit 96fa221

Browse files
committed
uv2
1 parent 930da1a commit 96fa221

File tree

2 files changed

+8
-21
lines changed

2 files changed

+8
-21
lines changed
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
setlocal
2-
call "%~dp0..\installation_and_upgrade\define_latest_genie_python.bat"
3-
IF %errorlevel% neq 0 EXIT /b %errorlevel%
2+
call "%~dp0..\installation_and_upgrade\install_or_update_uv.bat"
3+
call "%~dp0..\installation_and_upgrade\set_up_venv.bat"
4+
45
set PYTHONUNBUFFERED=TRUE
5-
REM use LATEST_PYTHON3 so not killed by stop_ibex_server
6-
call "%LATEST_PYTHON3%" -u "%~dp0check_builds_are_recent.py"
7-
call "%~dp0..\installation_and_upgrade\remove_genie_python.bat" %LATEST_PYTHON_DIR%
6+
7+
call python -u "%~dp0check_builds_are_recent.py"

build_tools/purge_archive.bat

Lines changed: 3 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,10 @@
11
setlocal EnableDelayedExpansion
2-
REM Remove old builds from the archive
32

4-
set "WORKWIN=%WORKSPACE:/=\%"
5-
6-
if "%WORKWIN%" == "" (
7-
call "%~dp0..\installation_and_upgrade\define_latest_genie_python.bat"
8-
) else (
9-
if exist "%WORKWIN%\Python3" rd /s /q %WORKWIN%\Python3
10-
if !errorlevel! neq 0 exit /b 1
11-
call "%~dp0..\installation_and_upgrade\define_latest_genie_python.bat" %WORKWIN%\Python3
12-
)
13-
IF %errorlevel% neq 0 EXIT /b %errorlevel%
3+
call "%~dp0..\installation_and_upgrade\install_or_update_uv.bat"
4+
call "%~dp0..\installation_and_upgrade\set_up_venv.bat"
145

156
set PYTHONUNBUFFERED=TRUE
16-
REM use LATEST_PYTHON3 to avoid process being killed
17-
"%LATEST_PYTHON3%" -u "%~dp0purge_archive.py"
7+
python -u "%~dp0purge_archive.py"
188
set errcode=!errorlevel!
199
@echo purge_archive.py exited with code !errcode!
2010

@@ -34,7 +24,6 @@ popd
3424
for /F "skip=1" %%I in ('wmic path win32_localtime get dayofweek') do (set /a DOW=%%I 2>NUL)
3525
if %DOW% neq 6 (
3626
@echo Skipping debug symbol cleanup as day of week %DOW% is not 6
37-
CALL "%~dp0..\installation_and_upgrade\remove_genie_python.bat" %LATEST_PYTHON_DIR%
3827
exit /b !errcode!
3928
)
4029

@@ -52,5 +41,3 @@ if exist "%AGESTORE%" (
5241
) else (
5342
@echo agestore does not exist
5443
)
55-
56-
CALL "%~dp0..\installation_and_upgrade\remove_genie_python.bat" %LATEST_PYTHON_DIR%

0 commit comments

Comments
 (0)