specialize wheel resource handling
Signed-off-by: William Woodruff <william@yossarian.net>
This commit is contained in:
parent
3b9bec8c95
commit
c6ba4844b3
@ -365,7 +365,9 @@ module Language
|
||||
def pip_install(targets, build_isolation: true)
|
||||
targets = Array(targets)
|
||||
targets.each do |t|
|
||||
if t.is_a?(Resource)
|
||||
if t.is_a?(Resource) && t.url.end_with?("-none-any.whl")
|
||||
t.stage { do_install(Pathname.pwd/t.downloader.basename, build_isolation:) }
|
||||
elsif t.is_a?(Resource)
|
||||
t.stage { do_install(Pathname.pwd, build_isolation:) }
|
||||
else
|
||||
t = t.lines.map(&:strip) if t.is_a?(String) && t.include?("\n")
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user