diff --git a/pyperformance/_pip.py b/pyperformance/_pip.py index 7fc07874..befa7b7f 100644 --- a/pyperformance/_pip.py +++ b/pyperformance/_pip.py @@ -153,6 +153,11 @@ def install_requirements(reqs, *extra, if os.path.exists(reqs): args.append('-r') # --requirement args.append(reqs) + + if "USE_BINARY_PACKAGES" not in os.environ: + # Force recompilation: + args.extend(["--no-binary", ":all:"]) + return run_pip('install', *args, **kwargs)