2016-08-02 21:42:30 +02:00
|
|
|
#! /bin/bash
|
|
|
|
|
|
|
|
cd "`dirname $0`/.."
|
|
|
|
|
|
|
|
TOX_DIR=$WORKSPACE/.tox
|
|
|
|
|
|
|
|
mkdir -p $TOX_DIR
|
|
|
|
|
|
|
|
if ! [ $TOX_DIR -ef .tox ]; then
|
|
|
|
ln -s "$TOX_DIR" .tox
|
|
|
|
fi
|
|
|
|
|
|
|
|
# set up the virtualenv
|
|
|
|
tox -e py27 --notest -v
|
|
|
|
|
|
|
|
TOX_BIN=$TOX_DIR/py27/bin
|
2016-08-18 16:06:16 +02:00
|
|
|
$TOX_BIN/pip install setuptools
|
2016-11-28 14:09:25 +01:00
|
|
|
{ python synapse/python_dependencies.py
|
|
|
|
echo lxml psycopg2
|
|
|
|
} | xargs $TOX_BIN/pip install
|