Allow pip to use the local wheel cache while installing dependencies

This commit is contained in:
Tom Forbes 2022-12-10 15:00:42 +00:00
parent 11cdffb4fe
commit 2c378249aa

View File

@ -304,7 +304,7 @@ module Language
def do_install(targets) def do_install(targets)
targets = Array(targets) targets = Array(targets)
@formula.system @venv_root/"bin/pip", "install", @formula.system @venv_root/"bin/pip", "install",
"-v", "--no-deps", "--no-binary", ":all:", "-v", "--no-deps", "--use-feature=no-binary-enable-wheel-cache",
"--ignore-installed", *targets "--ignore-installed", *targets
end end
end end