Files
agnos-builder/userspace/openpilot_python_dependencies.sh
Adeeb Shihadeh 9573332851 Use system python 3.12 (#431)
* system python

* dev
2025-01-22 16:19:12 -08:00

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