openpilot/tools/mac_setup.sh

27 lines
531 B
Bash
Executable File

#!/bin/bash -e
# install brew
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew install capnp \
czmq \
coreutils \
eigen \
ffmpeg \
glfw \
libarchive \
libtool \
llvm \
pyenv \
zeromq
# install python
pyenv install -s 3.8.2
pyenv global 3.8.2
pyenv rehash
eval "$(pyenv init -)"
pip install pipenv==2018.11.26
pipenv install --system --deploy