mirror of
https://github.com/frappe/bench.git
synced 2025-01-24 15:38:25 +00:00
install patched version of python-mysqldb in setup env
This commit is contained in:
parent
aa92c32730
commit
0b16e745b6
@ -66,6 +66,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 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)
|
||||
|
||||
def setup_procfile(bench='.'):
|
||||
with open(os.path.join(bench, 'Procfile'), 'w') as f:
|
||||
|
Loading…
x
Reference in New Issue
Block a user