mirror of
https://github.com/explosion/spaCy.git
synced 2025-02-05 14:10:34 +03:00
Try to fix fabfile
This commit is contained in:
parent
c5bc0eadc8
commit
aa96f769d2
14
fabfile.py
vendored
14
fabfile.py
vendored
|
@ -52,34 +52,32 @@ def install():
|
||||||
|
|
||||||
|
|
||||||
def make():
|
def make():
|
||||||
with lcd(path.dirname(__file__)):
|
|
||||||
with virtualenv(VENV_DIR) as venv_local:
|
with virtualenv(VENV_DIR) as venv_local:
|
||||||
venv_local('pip install wheel')
|
with lcd(path.dirname(__file__)):
|
||||||
venv_local('pip install cython')
|
venv_local('pip install cython')
|
||||||
venv_local('pip install murmurhash')
|
|
||||||
venv_local('pip install -r requirements.txt')
|
venv_local('pip install -r requirements.txt')
|
||||||
venv_local('python setup.py build_ext --inplace')
|
venv_local('PYTHONPATH=`pwd` python setup.py build_ext --inplace')
|
||||||
|
|
||||||
def sdist():
|
def sdist():
|
||||||
with lcd(path.dirname(__file__)):
|
|
||||||
with virtualenv(VENV_DIR) as venv_local:
|
with virtualenv(VENV_DIR) as venv_local:
|
||||||
|
with lcd(path.dirname(__file__)):
|
||||||
local('python setup.py sdist')
|
local('python setup.py sdist')
|
||||||
|
|
||||||
def wheel():
|
def wheel():
|
||||||
with lcd(path.dirname(__file__)):
|
|
||||||
with virtualenv(VENV_DIR) as venv_local:
|
with virtualenv(VENV_DIR) as venv_local:
|
||||||
|
with lcd(path.dirname(__file__)):
|
||||||
venv_local('pip install wheel')
|
venv_local('pip install wheel')
|
||||||
venv_local('python setup.py bdist_wheel')
|
venv_local('python setup.py bdist_wheel')
|
||||||
|
|
||||||
|
|
||||||
def clean():
|
def clean():
|
||||||
with virtualenv(VENV_DIR) as venv_local:
|
|
||||||
with lcd(path.dirname(__file__)):
|
with lcd(path.dirname(__file__)):
|
||||||
|
with virtualenv(VENV_DIR) as venv_local:
|
||||||
local('python setup.py clean --all')
|
local('python setup.py clean --all')
|
||||||
|
|
||||||
|
|
||||||
def test():
|
def test():
|
||||||
with lcd(path.dirname(__file__)):
|
|
||||||
with virtualenv(VENV_DIR) as venv_local:
|
with virtualenv(VENV_DIR) as venv_local:
|
||||||
|
with lcd(path.dirname(__file__)):
|
||||||
venv_local('pip install pytest')
|
venv_local('pip install pytest')
|
||||||
venv_local('pytest -x spacy/tests')
|
venv_local('pytest -x spacy/tests')
|
||||||
|
|
Loading…
Reference in New Issue
Block a user