mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 00:06:36 +00:00
fixed path
This commit is contained in:
parent
c950b162b0
commit
2354396d49
@ -171,7 +171,7 @@ def which(executable, raise_err = False):
|
|||||||
|
|
||||||
def setup_env(bench_path='.', python = 'python'):
|
def setup_env(bench_path='.', python = 'python'):
|
||||||
python = which(python, raise_err = True)
|
python = which(python, raise_err = True)
|
||||||
pip = os.path.join(bench_path, 'env', 'bin', 'pip')
|
pip = os.path.join('env', 'bin', 'pip')
|
||||||
|
|
||||||
exec_cmd('virtualenv -q {} -p {}'.format('env', python), cwd=bench_path)
|
exec_cmd('virtualenv -q {} -p {}'.format('env', python), cwd=bench_path)
|
||||||
exec_cmd('{} -q install --upgrade pip'.format(pip), cwd=bench_path)
|
exec_cmd('{} -q install --upgrade pip'.format(pip), cwd=bench_path)
|
||||||
|
Loading…
Reference in New Issue
Block a user