mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-04-07 23:33:56 +08:00
* build_system: fix uv 5.1 error and 3.12 pkgconfig error * remove mention of uv_bin and .cargo * Update userspace/openpilot_python_dependencies.sh --------- Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com>
13 lines
326 B
Bash
Executable File
13 lines
326 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.3"
|
|
|
|
# uv requires virtual env either managed or system before installing dependencies
|
|
uv venv $XDG_DATA_HOME/venv --seed --python-preference only-managed --python=$PYTHON_VERSION
|