mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-26 18:06:29 +03:00
Fix env command in fabfile
This commit is contained in:
parent
071a2fbd02
commit
fd816bbd1b
2
fabfile.py
vendored
2
fabfile.py
vendored
|
@ -35,7 +35,7 @@ def virtualenv(name, create=False, python='/usr/bin/python3.6'):
|
||||||
|
|
||||||
|
|
||||||
def env(lang='python2.7'):
|
def env(lang='python2.7'):
|
||||||
if path.exists(VENV_DIR):
|
if VENV_DIR.exists():
|
||||||
local('rm -rf {env}'.format(env=VENV_DIR))
|
local('rm -rf {env}'.format(env=VENV_DIR))
|
||||||
local('pip install virtualenv')
|
local('pip install virtualenv')
|
||||||
local('python -m virtualenv -p {lang} {env}'.format(lang=lang, env=VENV_DIR))
|
local('python -m virtualenv -p {lang} {env}'.format(lang=lang, env=VENV_DIR))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user