File tree Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Expand file tree Collapse file tree 1 file changed +1
-14
lines changed Original file line number Diff line number Diff line change @@ -43,26 +43,13 @@ def _contains_egg_info(s: str) -> bool:
43
43
44
44
def _should_build (
45
45
req : InstallRequirement ,
46
- need_wheel : bool ,
47
46
) -> bool :
48
47
"""Return whether an InstallRequirement should be built into a wheel."""
49
48
assert not req .constraint
50
49
51
50
if req .is_wheel :
52
- if need_wheel :
53
- logger .info (
54
- "Skipping %s, due to already being wheel." ,
55
- req .name ,
56
- )
57
51
return False
58
52
59
- if need_wheel :
60
- # i.e. pip wheel, not pip install
61
- return True
62
-
63
- # From this point, this concerns the pip install command only
64
- # (need_wheel=False).
65
-
66
53
if not req .source_dir :
67
54
return False
68
55
@@ -76,7 +63,7 @@ def _should_build(
76
63
def should_build_for_install_command (
77
64
req : InstallRequirement ,
78
65
) -> bool :
79
- return _should_build (req , need_wheel = False )
66
+ return _should_build (req )
80
67
81
68
82
69
def _should_cache (
You can’t perform that action at this time.
0 commit comments