Skip to content

Commit 6dc9e85

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 2363451 commit 6dc9e85

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
@@ -982,11 +982,7 @@ def sdist(self, directory: Path) -> pathlib.Path:
982982

983983
def wheel(self, directory: Path) -> pathlib.Path: # noqa: F811
984984
"""Generates a wheel (binary distribution) in the specified directory."""
985-
wheel = self._wheel_builder.build(self._build_dir)
986-
987-
final_wheel = pathlib.Path(directory, wheel.name)
988-
shutil.move(os.fspath(wheel), final_wheel)
989-
return final_wheel
985+
return self._wheel_builder.build(directory)
990986

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

0 commit comments

Comments
 (0)