mirror of https://github.com/explosion/spaCy.git
get mingw32 to work, enable pytest fast-fail
This commit is contained in:
parent
e457975e8c
commit
2528217b7e
2
build.py
2
build.py
|
@ -65,7 +65,7 @@ elif install_mode == 'test':
|
|||
os.chdir('tmp')
|
||||
|
||||
x('python -m spacy.en.download')
|
||||
x('python -m pytest ../spacy/ --models --vectors --slow')
|
||||
x('python -m pytest ../spacy/ -x --models --vectors --slow')
|
||||
|
||||
finally:
|
||||
os.chdir(old)
|
||||
|
|
8
venv.ps1
8
venv.ps1
|
@ -9,7 +9,15 @@ $ErrorActionPreference = "Stop"
|
|||
|
||||
if(!(Test-Path -Path ".build"))
|
||||
{
|
||||
if($compiler -eq "mingw32")
|
||||
{
|
||||
virtualenv .build --system-site-packages --python $python
|
||||
}
|
||||
else
|
||||
{
|
||||
virtualenv .build --python $python
|
||||
}
|
||||
|
||||
if($compiler)
|
||||
{
|
||||
"[build]`r`ncompiler=$compiler" | Out-File -Encoding ascii .\.build\Lib\distutils\distutils.cfg
|
||||
|
|
Loading…
Reference in New Issue