We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2363451 commit 6dc9e85Copy full SHA for 6dc9e85
mesonpy/__init__.py
@@ -982,11 +982,7 @@ def sdist(self, directory: Path) -> pathlib.Path:
982
983
def wheel(self, directory: Path) -> pathlib.Path: # noqa: F811
984
"""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
+ return self._wheel_builder.build(directory)
990
991
def editable(self, directory: Path) -> pathlib.Path:
992
return self._wheel_builder.build_editable(directory)
0 commit comments