File tree 1 file changed +0
-11
lines changed
1 file changed +0
-11
lines changed Original file line number Diff line number Diff line change @@ -319,8 +319,6 @@ def __init__(
319
319
self .preparer = preparer
320
320
self .wheel_cache = wheel_cache
321
321
322
- self ._wheel_dir = preparer .wheel_download_dir
323
-
324
322
self .build_options = build_options or []
325
323
self .global_options = global_options or []
326
324
self .check_binary_allowed = check_binary_allowed
@@ -422,15 +420,6 @@ def build(
422
420
for installation.
423
421
:return: The list of InstallRequirement that failed to build.
424
422
"""
425
- # pip install uses should_unpack=True.
426
- # pip install never provides a _wheel_dir.
427
- # pip wheel uses should_unpack=False.
428
- # pip wheel always provides a _wheel_dir (via the preparer).
429
- assert (
430
- (should_unpack and not self ._wheel_dir ) or
431
- (not should_unpack and self ._wheel_dir )
432
- )
433
-
434
423
buildset = _collect_buildset (
435
424
requirements ,
436
425
wheel_cache = self .wheel_cache ,
You can’t perform that action at this time.
0 commit comments