mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2024-10-01 11:49:51 -04:00
20 lines
345 B
Bash
20 lines
345 B
Bash
|
#! /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
|
||
|
python synapse/python_dependencies.py | xargs -n1 $TOX_BIN/pip install
|
||
|
$TOX_BIN/pip install lxml
|
||
|
$TOX_BIN/pip install psycopg2
|