spaCy/venv.ps1

17 lines
364 B
PowerShell
Raw Normal View History

2015-12-16 17:11:54 +00:00
param (
[string]$python = $(throw "-python is required."),
[string]$install_mode = $(throw "-install_mode is required."),
[string]$pip_date
)
if(!(Test-Path -Path ".build"))
{
virtualenv .build --python $python
}
.build\Scripts\activate.ps1
2015-12-18 16:47:06 +00:00
python build.py prepare $pip_date
python build.py $install_mode
python build.py test
2015-12-16 18:13:36 +00:00
exit $LASTEXITCODE