mirror of
https://github.com/commaai/agnos-builder.git
synced 2026-04-06 14:53:54 +08:00
* make openpilot a dependency of agnos * cleaner curls [upload] * adding required dbus-python and pyopencl [upload] * check in openpilot pyproject.toml and uv.lock * ignore openpilot uv.lock * remove allow-direct-references * codespell: ignore openpilot python deps folder * use a uv workspace instead https://docs.astral.sh/uv/concepts/workspaces/ * codespell: ignore uv folder * uv lock in sync * agnos optional deps are never installed * uv temp fix for dbus-python error * uv agnos virtual * update openpilot pyproject.toml * also install openpilot testing * sourcing is needed [upload] * [upload] * update openpilot uv.lock * fix wrong env for uv sync * added openpilot[testing] * openpilot uv.lock is now workspace uv.lock * [upload] * no more uv.lock download * new uv.lock * openpilot[dev] + uv lock --upgrade * [upload] --------- Co-authored-by: Comma Device <device@comma.ai>
16 lines
511 B
Bash
Executable File
16 lines
511 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# Make sure we're in the correct spot
|
|
DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
|
cd $DIR
|
|
|
|
cd userspace/uv
|
|
curl -sSo openpilot/pyproject.toml https://raw.githubusercontent.com/commaai/openpilot/master/pyproject.toml
|
|
|
|
export PYOPENCL_CL_PRETEND_VERSION="2.0" && \
|
|
pc="$(python -c "import sysconfig;print(sysconfig.get_config_vars('installed_base')[0])")" && \
|
|
pcpath=$pc"/lib/pkgconfig" && \
|
|
export PKG_CONFIG_PATH="$pcpath:$PKG_CONFIG_PATH" && \
|
|
uv lock --upgrade
|