File tree 1 file changed +7
-5
lines changed
1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -71,14 +71,16 @@ if ! command -V uv &>/dev/null; then
71
71
# Install uv into the newly created venv.
72
72
python -m pip install -q --force-reinstall uv
73
73
_suffix=" "
74
- if [ " Windows_NT" = " ${OS:- } " ]; then
75
- _suffix=" .exe"
76
- fi
77
74
# Symlink uv and uvx binaries.
78
75
_install_dir=" ${DRIVERS_TOOLS} /.bin"
79
76
mkdir -p " $_install_dir "
80
- ln -s " $( which uv) " " $_install_dir /uv${_suffix} "
81
- ln -s " $( which uvx) " " $_install_dir /uvx${_suffix} "
77
+ if [ " Windows_NT" = " ${OS:- } " ]; then
78
+ ln -s " ${_venv_dir} /Scripts/uv.exe" " $_install_dir /uv.exe"
79
+ ln -s " ${_venv_dir} /Scripts/uvx.exe" " $_install_dir /uvx.exe"
80
+ else
81
+ ln -s " $( which uv) " " $_install_dir /uv"
82
+ ln -s " $( which uvx) " " $_install_dir /uvx"
83
+ fi
82
84
echo " Installed to ${_install_dir} "
83
85
deactivate
84
86
echo " Installing uv using pip... done."
You can’t perform that action at this time.
0 commit comments