Skip to content

Commit

Permalink
Added a venv setup script.
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmjl committed May 13, 2017
1 parent 5e2d8b1 commit 70f37c8
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions venv-setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
set -x
VENV="$(which virtualenv)"
if [ -z "$VENV" ]; then
pip install virtualenv
fi
if [[ -d 'datatest' ]]; then
rm -rf ./datatest
echo 'xx';
fi
virtualenv datatest
source datatest/bin/activate && pip install -r requirements.txt
echo "Run 'source datatest/bin/activate' to begin"

python checkenv.py

0 comments on commit 70f37c8

Please sign in to comment.