Skip to content
Merged

Uv #251

Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions installation_and_upgrade/install_or_update_uv.bat
Original file line number Diff line number Diff line change
@@ -1,12 +1,7 @@
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.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
setx UV_PYTHON_INSTALL_DIR C:\Instrument\apps\uv\snakes\
Expand Down
Loading