mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-04-06 06:43:53 +08:00
13 lines
322 B
Bash
Executable File
13 lines
322 B
Bash
Executable File
#!/bin/bash -e
|
|
|
|
echo "installing uv..."
|
|
|
|
export XDG_DATA_HOME="/usr/local"
|
|
|
|
curl -LsSf https://astral.sh/uv/install.sh | sh
|
|
|
|
PYTHON_VERSION="3.12"
|
|
|
|
# uv requires virtual env either managed or system before installing dependencies
|
|
uv venv $XDG_DATA_HOME/venv --seed --python-preference only-system --python=$PYTHON_VERSION
|