spaCy/venv.sh

17 lines
286 B
Bash
Raw Normal View History

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