DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Mercurial (6a903248d8cd)

VCS Links

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
#!/usr/bin/env bash
# Bail on any setup error
set -eu

ROOT=`pwd`
VENV=${ROOT}/venv

if [ ! -d ${VENV}/lib ]; then
  . ${ROOT}/testing/create-virtualenv
fi

cd ${ROOT}

# activate fails on read of PS1, which doesn't exist in non-interactive shell
set +u
source ${VENV}/bin/activate
set -u

# Note: pycrypto may not build on OSX with hombrew gmp unless you add:
# export CFLAGS='-I/usr/local/include -L/usr/local/lib'
pip install --upgrade --require-hashes -r deploy-requirements.txt

cd testing
python setup.py develop
cd ..