From 3c9164525ac11bcd92b89deea4aef875f1838fae Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 11 Jul 2025 15:48:36 +0100 Subject: [PATCH 1/5] Update install_or_update_uv.bat --- installation_and_upgrade/install_or_update_uv.bat | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/installation_and_upgrade/install_or_update_uv.bat b/installation_and_upgrade/install_or_update_uv.bat index e56acc95..80ce1ab4 100644 --- a/installation_and_upgrade/install_or_update_uv.bat +++ b/installation_and_upgrade/install_or_update_uv.bat @@ -1,12 +1,6 @@ REM Script to either update uv or install it -uv self update -REM if the above didnt work uv is probably not installed. install it. -if %errorlevel% neq 0 ( - set UV_INSTALL_DIR=C:\Instrument\Apps\uv - powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex" - set "Path=C:\Instrument\Apps\uv;%Path%" -) +robocopy \\isis\inst$\Kits$\CompGroup\ICP\uv\uv-x86_64-pc-windows-msvc c:\Instrument\Apps\uv -MIR -NFL -NDL -NP -R:1 -MT -L REM set the uv python executable installation directory permanently setx UV_PYTHON_INSTALL_DIR C:\Instrument\apps\uv\snakes\ From 48d0c184e0c56e3917a6ae494274768f1a48b517 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 11 Jul 2025 15:50:12 +0100 Subject: [PATCH 2/5] Update install_or_update_uv.bat --- installation_and_upgrade/install_or_update_uv.bat | 1 + 1 file changed, 1 insertion(+) diff --git a/installation_and_upgrade/install_or_update_uv.bat b/installation_and_upgrade/install_or_update_uv.bat index 80ce1ab4..c1223981 100644 --- a/installation_and_upgrade/install_or_update_uv.bat +++ b/installation_and_upgrade/install_or_update_uv.bat @@ -1,6 +1,7 @@ REM Script to either update uv or install it robocopy \\isis\inst$\Kits$\CompGroup\ICP\uv\uv-x86_64-pc-windows-msvc c:\Instrument\Apps\uv -MIR -NFL -NDL -NP -R:1 -MT -L +set "Path=C:\Instrument\Apps\uv;%Path%" REM set the uv python executable installation directory permanently setx UV_PYTHON_INSTALL_DIR C:\Instrument\apps\uv\snakes\ From 4f8fed1a6f07d47154117aa2ad1f0684c45a2d2b Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 11 Jul 2025 15:53:24 +0100 Subject: [PATCH 3/5] Update install_or_update_uv.bat --- installation_and_upgrade/install_or_update_uv.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installation_and_upgrade/install_or_update_uv.bat b/installation_and_upgrade/install_or_update_uv.bat index c1223981..8010f360 100644 --- a/installation_and_upgrade/install_or_update_uv.bat +++ b/installation_and_upgrade/install_or_update_uv.bat @@ -1,6 +1,6 @@ REM Script to either update uv or install it -robocopy \\isis\inst$\Kits$\CompGroup\ICP\uv\uv-x86_64-pc-windows-msvc c:\Instrument\Apps\uv -MIR -NFL -NDL -NP -R:1 -MT -L +robocopy \\isis\inst$\Kits$\CompGroup\ICP\uv\uv-x86_64-pc-windows-msvc\ c:\Instrument\Apps\uv\ -MIR set "Path=C:\Instrument\Apps\uv;%Path%" REM set the uv python executable installation directory permanently From add0de714ca4f286af716671bd0105a2c5ae57ce Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 11 Jul 2025 16:02:45 +0100 Subject: [PATCH 4/5] Update install_or_update_uv.bat --- installation_and_upgrade/install_or_update_uv.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/installation_and_upgrade/install_or_update_uv.bat b/installation_and_upgrade/install_or_update_uv.bat index 8010f360..c9237dda 100644 --- a/installation_and_upgrade/install_or_update_uv.bat +++ b/installation_and_upgrade/install_or_update_uv.bat @@ -1,6 +1,6 @@ REM Script to either update uv or install it -robocopy \\isis\inst$\Kits$\CompGroup\ICP\uv\uv-x86_64-pc-windows-msvc\ c:\Instrument\Apps\uv\ -MIR +robocopy \\isis.cclrc.ac.uk\inst$\Kits$\CompGroup\ICP\uv\uv-x86_64-pc-windows-msvc\ c:\Instrument\Apps\uv\ -MIR set "Path=C:\Instrument\Apps\uv;%Path%" REM set the uv python executable installation directory permanently From ac69becf086012d384e4bdb258de5b5af61e5739 Mon Sep 17 00:00:00 2001 From: Tom Willemsen Date: Fri, 11 Jul 2025 16:09:34 +0100 Subject: [PATCH 5/5] ...