From 4ec9bed9bb145d3b3696dd77a20d57d73efabf09 Mon Sep 17 00:00:00 2001 From: Anand Doshi Date: Tue, 8 Dec 2015 23:51:16 +0530 Subject: [PATCH] [fix] upgrade pip during bench init --- bench/utils.py | 1 + 1 file changed, 1 insertion(+) diff --git a/bench/utils.py b/bench/utils.py index 11053d3c..ffd66f89 100644 --- a/bench/utils.py +++ b/bench/utils.py @@ -105,6 +105,7 @@ def exec_cmd(cmd, cwd='.'): def setup_env(bench='.'): exec_cmd('virtualenv -q {} -p {}'.format('env', sys.executable), cwd=bench) + exec_cmd('./env/bin/pip -q install --upgrade pip', cwd=bench) exec_cmd('./env/bin/pip -q install wheel', cwd=bench) exec_cmd('./env/bin/pip -q install https://github.com/frappe/MySQLdb1/archive/MySQLdb-1.2.5-patched.tar.gz', cwd=bench)