Newer
Older

jgoldste
committed
#!/bin/bash
# Convenience script to pip install -r requirements.txt,
# then python setup.py develop in each module
# required for tests to function properly.
# Execute this script from data/, and be sure the "data"
# conda env is activated for Python 3.8 (env has 3.8.5)
VERSION=$(python --version)
echo $VERSION
TOP_LEVEL=/Users/jgoldste/Projects/data/
cd $TOP_LEVEL
pip install -r requirements.txt
sleep 2
# setups must be executed in this order, since requirements are interdependent
for DIR in shared/support/ shared/schema/ shared/messaging/events/ \
apps/cli/launchers/pymygdala/ apps/cli/launchers/wf/ \
apps/cli/utilities/s_code_project_updater/ apps/cli/executables/datafetcher/
do
echo ">>> $DIR"
cd $TOP_LEVEL$DIR
python setup.py develop
# give it time to percolate
sleep 2
done