#!/usr/bin/env bash

set -e

THIS_PATH=$(dirname "$0")
BASE_PATH=$(dirname "$THIS_PATH")

cd $BASE_PATH

#pip install --upgrade pip

# install prog AND tests requirements :
pip3 install -r requirements.txt
pip2.7 install -v --install-option="--prefix=/home/travis/.local/" gi
export PATH=$PATH:/home/travis/.local/
echo $PATH
#pip install -e .
pip3 install --upgrade -r test/requirements.txt

#pyversion=$(python -c "import sys; print(''.join(map(str, sys.version_info[:2])))")
#if test -e "test/requirements.py${pyversion}.txt"
#then
#    pip install -r "test/requirements.py${pyversion}.txt"
#fi

#!/usr/bin/env bash

set -e

THIS_PATH=$(dirname "$0")
BASE_PATH=$(dirname "$THIS_PATH")

cd $BASE_PATH

#pip install --upgrade pip

# install prog AND tests requirements :
pip3 install -r requirements.txt
pip2.7 install -v --user --install-option="--prefix=/home/travis/.local/" gi
export PATH=$PATH:/home/travis/.local/lib/python2.7/site-packages/
echo $PATH
#pip install -e .
pip3 install --upgrade -r test/requirements.txt

#pyversion=$(python -c "import sys; print(''.join(map(str, sys.version_info[:2])))")
#if test -e "test/requirements.py${pyversion}.txt"
#then
#    pip install -r "test/requirements.py${pyversion}.txt"
#fi

Add user and change path
Add user and change path
