Skip to content

Commit 2a9b77a

Browse files
committed
fixup! fixup! Make pip wheel cache what it built
1 parent 30f2740 commit 2a9b77a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/pip/_internal/wheel.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1170,9 +1170,6 @@ def build(
11701170
python_tag=python_tag,
11711171
)
11721172
if wheel_file:
1173-
self.wheel_filenames.append(
1174-
os.path.relpath(wheel_file, output_dir)
1175-
)
11761173
if should_unpack:
11771174
# XXX: This is mildly duplicative with prepare_files,
11781175
# but not close enough to pull out to a single common
@@ -1212,6 +1209,9 @@ def build(
12121209
)
12131210
build_failure.append(req)
12141211
continue
1212+
self.wheel_filenames.append(
1213+
os.path.relpath(wheel_file, output_dir)
1214+
)
12151215
build_success.append(req)
12161216
else:
12171217
build_failure.append(req)

0 commit comments

Comments
 (0)