2
0
mirror of https://github.com/frappe/bench.git synced 2024-11-12 00:06:36 +00:00

fixed path

This commit is contained in:
Ameya Shenoy 2018-08-16 13:04:02 +05:30
parent c950b162b0
commit 2354396d49

View File

@ -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)