Skip to content

Commit 8be68be

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 4a83c06 commit 8be68be

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

10101010
def wheel(self, directory: Path) -> pathlib.Path: # noqa: F811
10111011
"""Generates a wheel (binary distribution) in the specified directory."""
1012-
wheel = self._wheel_builder.build(self._build_dir)
1013-
1014-
final_wheel = pathlib.Path(directory, wheel.name)
1015-
shutil.move(os.fspath(wheel), final_wheel)
1016-
return final_wheel
1012+
return self._wheel_builder.build(directory)
10171013

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

0 commit comments

Comments
 (0)