mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-06-22 12:22:06 +08:00
ca058bcc81
* bye bye brew * drop the nproc it's simpler
21 lines
521 B
Bash
Executable File
21 lines
521 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null && pwd )"
|
|
ROOT="$(cd $DIR/../ && pwd)"
|
|
|
|
if [[ $SHELL == "/bin/zsh" ]]; then
|
|
RC_FILE="$HOME/.zshrc"
|
|
elif [[ $SHELL == "/bin/bash" ]]; then
|
|
RC_FILE="$HOME/.bash_profile"
|
|
fi
|
|
|
|
# install python dependencies
|
|
$DIR/install_python_dependencies.sh
|
|
echo "[ ] installed python dependencies t=$SECONDS"
|
|
|
|
echo
|
|
echo "---- OPENPILOT SETUP DONE ----"
|
|
echo "Open a new shell or configure your active shell env by running:"
|
|
echo "source $RC_FILE"
|