#! /bin/bashcd"`dirname $0`/.."TOX_DIR=$WORKSPACE/.tox
mkdir-p$TOX_DIRif![$TOX_DIR-ef.tox];thenln-s"$TOX_DIR".tox
fi# set up the virtualenv
tox-epy27--notest-v
TOX_BIN=$TOX_DIR/py27/bin
$TOX_BIN/pipinstallsetuptools
pythonsynapse/python_dependencies.py|xargs-n1$TOX_BIN/pipinstall
$TOX_BIN/pipinstalllxml
$TOX_BIN/pipinstallpsycopg2