Skip to content

Commit 1be4b32

Browse files
authored
Merge pull request #251 from ISISComputingGroup/uv
Uv
2 parents 91be9c9 + ac69bec commit 1be4b32

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

installation_and_upgrade/install_or_update_uv.bat

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
11
REM Script to either update uv or install it
2-
uv self update
32

4-
REM if the above didnt work uv is probably not installed. install it.
5-
if %errorlevel% neq 0 (
6-
set UV_INSTALL_DIR=C:\Instrument\Apps\uv
7-
powershell -ExecutionPolicy ByPass -c "irm https://astral.sh/uv/install.ps1 | iex"
8-
set "Path=C:\Instrument\Apps\uv;%Path%"
9-
)
3+
robocopy \\isis.cclrc.ac.uk\inst$\Kits$\CompGroup\ICP\uv\uv-x86_64-pc-windows-msvc\ c:\Instrument\Apps\uv\ -MIR
4+
set "Path=C:\Instrument\Apps\uv;%Path%"
105

116
REM set the uv python executable installation directory permanently
127
setx UV_PYTHON_INSTALL_DIR C:\Instrument\apps\uv\snakes\

0 commit comments

Comments
 (0)