mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 08:30:39 +00:00
[fix] upgrade pip during bench init
This commit is contained in:
parent
523e6b6837
commit
4ec9bed9bb
@ -105,6 +105,7 @@ def exec_cmd(cmd, cwd='.'):
|
|||||||
|
|
||||||
def setup_env(bench='.'):
|
def setup_env(bench='.'):
|
||||||
exec_cmd('virtualenv -q {} -p {}'.format('env', sys.executable), cwd=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 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)
|
exec_cmd('./env/bin/pip -q install https://github.com/frappe/MySQLdb1/archive/MySQLdb-1.2.5-patched.tar.gz', cwd=bench)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user