forked from flowdriveai/flowpilot
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathget_dependencies.sh
More file actions
executable file
·24 lines (18 loc) · 875 Bytes
/
Copy pathget_dependencies.sh
File metadata and controls
executable file
·24 lines (18 loc) · 875 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
sudo apt-get update
# these need to be installed before requirements.txt
pip install pkgconfig==1.5.5
pip install Cython==0.29.32
sudo apt-get install -y rsync clang capnproto libcapnp-dev libzmq3-dev cmake libjson11-1 libjson11-1-dev liblmdb-dev libusb-1.0-0-dev
sudo apt-get install -y dfu-util gcc-arm-none-eabi libcurl4-openssl-dev libssl-dev ffmpeg libeigen3-dev nano tmux
# install capnpc-java
if ! command -v capnpc-java --version &> /dev/null # TODO: Running through scons misses this
then
SCRIPT=$(realpath "$0")
DIR=$(dirname "$SCRIPT")
sh $DIR/libs/capnpc-java/build.sh
fi
# pycapnp without wheel build can fail on some systems, in this case, its built from scratch later in the process.
pip install pycapnp==1.0.0 --install-option="--force-system-libcapnp" > /dev/null 2>&1
pip install -r requirements.txt
# target for scons
touch .dep_update