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 de6d390 commit 1fc5e71Copy full SHA for 1fc5e71
mesonpy/__init__.py
@@ -1021,11 +1021,7 @@ def sdist(self, directory: Path) -> pathlib.Path:
1021
1022
def wheel(self, directory: Path) -> pathlib.Path: # noqa: F811
1023
"""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
+ return self._wheel_builder.build(directory)
1029
1030
def editable(self, directory: Path) -> pathlib.Path:
1031
return self._wheel_builder.build_editable(directory)
0 commit comments