forked from waterloo-rocketry/omnibus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
executable file
·23 lines (20 loc) · 883 Bytes
/
setup.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
echo "\n----- Upgrading pip -----"
pip install --upgrade pip || return
echo "\n----- Installing tools -----"
pip install wheel || return
# Install requirements
echo "\n----- Installing global requirements -----"
pip install -r requirements.txt || return
echo "\n----- Installing NI source requirements -----"
pip install -r sources/ni/requirements.txt || return
echo "\n----- Installing Parsley source requirements -----"
pip install -r sources/parsley/requirements.txt || return
echo "\n----- Installing Dashboard sink requirements -----"
pip install -r sinks/dashboard/requirements.txt || return
# Install local libraries
echo "\n----- Installing Omnibus library -----"
pip install -e . || return
echo "\n----- Installing Parsley library -----"
git submodule update --init --recursive || return
pip install -e ./parsley || return
echo "\n----- Omnibus setup successfully -----"