spaCy/venv.sh

17 lines
286 B
Bash
Raw Normal View History

2015-12-16 17:11:54 +00:00
#!/bin/bash
set -e
if [ ! -d ".build" ]; then
virtualenv .build --python $1
fi
2015-12-22 00:50:58 +00:00
if [ -d ".build/bin" ]; then
source .build/bin/activate
elif [ -d ".build/Scripts" ]; then
source .build/Scripts/activate
fi
2015-12-18 16:47:06 +00:00
python build.py prepare $3
python build.py $2
python build.py test