#! /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
echolxmlpsycopg2
}|xargs$TOX_BIN/pipinstall