Skip to content

Commit 068a190

Browse files
committed
MAINT: simplify Project.wheel
This was leftover from when we ran auditwheel. Signed-off-by: Filipe Laíns <[email protected]>
1 parent b884757 commit 068a190

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

mesonpy/__init__.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,11 +1021,7 @@ def sdist(self, directory: Path) -> pathlib.Path:
10211021

10221022
def wheel(self, directory: Path) -> pathlib.Path: # noqa: F811
10231023
"""Generates a wheel (binary distribution) in the specified directory."""
1024-
wheel = self._wheel_builder.build(self._build_dir)
1025-
1026-
final_wheel = pathlib.Path(directory, wheel.name)
1027-
shutil.move(os.fspath(wheel), final_wheel)
1028-
return final_wheel
1024+
return self._wheel_builder.build(directory)
10291025

10301026
def editable(self, directory: Path) -> pathlib.Path:
10311027
return self._wheel_builder.build_editable(directory)

0 commit comments

Comments
 (0)