#!/bin/bash
set -e
source $BSDIR/scripts/commands.sh
CWD="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
call echo "Updating packages"

deactivate || true
call source envs/py2/bin/activate
call pip install -r $CWD/config/requirements_py2django.txt

deactivate || true
call source envs/py3/bin/activate
call pip install -r $CWD/config/requirements_py3django.txt

deactivate || true
call source envs/pypy/bin/activate
call pip install -r $CWD/config/requirements_pypydjango.txt

# NPM: config/package.json
call npm install config
