Skip to content

Commit

Permalink
Update pip and setuptools in the venv
Browse files Browse the repository at this point in the history
On older python this is required to use the opencv wheel
  • Loading branch information
WillB97 committed Aug 5, 2024
1 parent 0e9b9e5 commit 50c3bd4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions scripts/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@
else:
pip = venv_dir / "bin/pip"
venv_python = venv_dir / "bin/python"
run(
[str(venv_python), "-m", "pip", "install", "--upgrade", "pip", "setuptools", "wheel"],
cwd=venv_dir,
)
run([str(pip), "install", "-r", str(requirements)], cwd=venv_dir)

logger.info("Setting up Webots Python location")
Expand Down

0 comments on commit 50c3bd4

Please sign in to comment.