spaCy/fabfile.py

16 lines
326 B
Python
Raw Normal View History

2014-07-05 22:49:34 +04:00
from fabric.api import local, run, lcd, cd, env
def make():
local('python setup.py build_ext --inplace')
def clean():
local('python setup.py clean --all')
def docs():
with lcd('docs'):
local('sphinx-build -b html . ./_build')
local('open _build/index.html')
2014-07-05 22:49:34 +04:00
def test():
local('py.test -x')