Skip to content

Commit

Permalink
fix: dont install bench dependencies in env
Browse files Browse the repository at this point in the history
  • Loading branch information
gavindsouza committed Nov 26, 2019
1 parent 1d7e3ca commit ea106e8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bench/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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))

Expand Down

0 comments on commit ea106e8

Please sign in to comment.