Merge pull request #17897 from Homebrew/ww/std-pip-args-allow-wheel
This commit is contained in:
commit
6e9947d570
@ -366,7 +366,11 @@ module Language
|
||||
targets = Array(targets)
|
||||
targets.each do |t|
|
||||
if t.is_a?(Resource)
|
||||
t.stage { do_install(Pathname.pwd, build_isolation:) }
|
||||
t.stage do
|
||||
target = Pathname.pwd
|
||||
target /= t.downloader.basename if t.url&.end_with?("-none-any.whl")
|
||||
do_install(target, build_isolation:)
|
||||
end
|
||||
else
|
||||
t = t.lines.map(&:strip) if t.is_a?(String) && t.include?("\n")
|
||||
do_install(t, build_isolation:)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user