mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 01:46:28 +03:00
make venv work for mingw
This commit is contained in:
parent
f5eb3a38f7
commit
e6fc51d6f3
7
venv.sh
7
venv.sh
|
@ -5,7 +5,12 @@ if [ ! -d ".build" ]; then
|
||||||
virtualenv .build --python $1
|
virtualenv .build --python $1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
. .build/bin/activate
|
if [ -d ".build/bin" ]; then
|
||||||
|
source .build/bin/activate
|
||||||
|
elif [ -d ".build/Scripts" ]; then
|
||||||
|
source .build/Scripts/activate
|
||||||
|
fi
|
||||||
|
|
||||||
python build.py prepare $3
|
python build.py prepare $3
|
||||||
python build.py $2
|
python build.py $2
|
||||||
python build.py test
|
python build.py test
|
||||||
|
|
Loading…
Reference in New Issue
Block a user