1
0

prepare_synapse.sh 342 B

1234567891011121314151617181920
  1. #! /bin/bash
  2. cd "`dirname $0`/.."
  3. TOX_DIR=$WORKSPACE/.tox
  4. mkdir -p $TOX_DIR
  5. if ! [ $TOX_DIR -ef .tox ]; then
  6. ln -s "$TOX_DIR" .tox
  7. fi
  8. # set up the virtualenv
  9. tox -e py27 --notest -v
  10. TOX_BIN=$TOX_DIR/py27/bin
  11. $TOX_BIN/pip install setuptools
  12. { python synapse/python_dependencies.py
  13. echo lxml psycopg2
  14. } | xargs $TOX_BIN/pip install