mirror of
https://github.com/frappe/bench.git
synced 2024-11-12 00:06:36 +00:00
commit
e66c9b6c37
@ -171,7 +171,7 @@ def which(executable, raise_err = False):
|
||||
|
||||
def setup_env(bench_path='.', python = 'python'):
|
||||
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('{} -q install --upgrade pip'.format(pip), cwd=bench_path)
|
||||
|
Loading…
Reference in New Issue
Block a user