spaCy/fabfile.py
2014-08-20 17:02:32 +02:00

16 lines
326 B
Python

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')
def test():
local('py.test -x')