mirror of
https://github.com/frappe/bench.git
synced 2025-01-09 00:21:23 +00:00
fix: dont install bench dependencies in env
This commit is contained in:
parent
1d7e3ca383
commit
ea106e89c9
@ -427,7 +427,12 @@ def set_default_site(site, bench_path='.'):
|
||||
|
||||
def update_requirements(bench_path='.'):
|
||||
print('Updating Python libraries...')
|
||||
pip = os.path.join(bench_path, 'env', 'bin', 'pip')
|
||||
# pip = os.path.join(bench_path, 'env', 'bin', 'pip')
|
||||
from six import PY2
|
||||
if PY2:
|
||||
pip = which("pip")
|
||||
else:
|
||||
pip = which("pip3")
|
||||
|
||||
exec_cmd("{pip} install --upgrade pip".format(pip=pip))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user