mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
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)
|
||||
|
|
10
venv.ps1
10
venv.ps1
|
@ -9,7 +9,15 @@ $ErrorActionPreference = "Stop"
|
|||
|
||||
if(!(Test-Path -Path ".build"))
|
||||
{
|
||||
virtualenv .build --system-site-packages --python $python
|
||||
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
Block a user