File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 1+ @ echo off
2+ setlocal EnableDelayedExpansion
3+ set " SOURCE = \\isis.cclrc.ac.uk\inst$\Kits$\CompGroup\ICP\Releases"
4+ call " %~dp0 install_or_update_uv.bat"
5+ call " %~dp0 set_up_venv.bat"
6+ IF %errorlevel% neq 0 goto ERROR
7+
8+ git --version
9+
10+ IF %errorlevel% neq 0 (
11+ echo No installation of Git found on machine. Please download Git from https://git-scm.com/downloads before proceeding.
12+ goto ERROR
13+ )
14+
15+ REM Matches current MySQL version
16+ uv pip install mysql-connector-python== 8.4.0
17+
18+ python -u part_truncate_archive.py %*
19+ IF %errorlevel% neq 0 goto ERROR
20+ call rmdir /s /q %UV_TEMP_VENV%
21+
22+ exit /b 0
23+
24+ :ERROR
25+ set errcode = %ERRORLEVEL%
26+ call rmdir /s /q %UV_TEMP_VENV%
27+ EXIT /b !errcode!
File renamed without changes.
You can’t perform that action at this time.
0 commit comments