2
0
mirror of https://github.com/frappe/bench.git synced 2025-01-08 16:14:12 +00:00

[fix] upgrade pip during bench init

This commit is contained in:
Anand Doshi 2015-12-08 23:51:16 +05:30
parent 523e6b6837
commit 4ec9bed9bb

View File

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