sunnypilot v2026.002.000
version: sunnypilot v2026.002.000 (staging) date: 2026-07-21T07:44:02 master commit: 2c334ede443d7391d27575af8c854a095ba702a8
This commit is contained in:
commit
de77c89cf6
3995 files changed
+1260688
No files matched your search
Executable
+22
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
BASEDIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null && pwd)"
|
||||
|
||||
# TODO: why doesn't uv do this?
|
||||
export PYTHONPATH=$BASEDIR
|
||||
|
||||
# *** dependencies install ***
|
||||
if ! command -v uv &>/dev/null; then
|
||||
echo "'uv' is not installed. Installing 'uv'..."
|
||||
curl -LsSf https://astral.sh/uv/install.sh | sh
|
||||
|
||||
# must source this after install on some platforms
|
||||
if [ -f $HOME/.local/bin/env ]; then
|
||||
source $HOME/.local/bin/env
|
||||
fi
|
||||
fi
|
||||
|
||||
export UV_PROJECT_ENVIRONMENT="$BASEDIR/.venv"
|
||||
uv sync --all-extras --all-groups --inexact
|
||||
source "$PYTHONPATH/.venv/bin/activate"
|
||||
Reference in new issue
Block a user