mirror of
https://github.com/explosion/spaCy.git
synced 2024-12-25 17:36:30 +03:00
Remove comment in fabfile
This commit is contained in:
parent
7e80550f13
commit
7c0823ad76
14
fabfile.py
vendored
14
fabfile.py
vendored
|
@ -24,20 +24,6 @@ def virtualenv(name, create=False, python='/usr/bin/python3.6'):
|
|||
def wrapped_local(cmd, env_vars=[], capture=False, direct=False):
|
||||
return local('source {}/bin/activate && {}'.format(env_path, cmd),
|
||||
shell='/bin/bash', capture=False)
|
||||
#env_vars = ' '.join(env_vars)
|
||||
#if cmd.split()[0] == 'python':
|
||||
# cmd = cmd.replace('python', str(env_py))
|
||||
# return local(env_vars + ' ' + cmd, capture=capture)
|
||||
#elif direct:
|
||||
# cmd, args = cmd.split(' ', 1)
|
||||
# env_cmd = str(env_py).replace('python', cmd)
|
||||
# return local('{env_vars} {env_cmd} {args}'.format(
|
||||
# env_cmd=env_cmd, args=args, env_vars=env_vars),
|
||||
# capture=capture)
|
||||
#else:
|
||||
# return local('{env_vars} {env_py} -m {cmd}'.format(
|
||||
# env_py=env_py, cmd=cmd, env_vars=env_vars),
|
||||
# capture=capture)
|
||||
yield wrapped_local
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user