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 d7f3736 commit 94f6781Copy full SHA for 94f6781
setuptools_rust/setuptools_ext.py
@@ -163,8 +163,9 @@ def run(self) -> None:
163
build_rust.inplace = self.inplace
164
build_rust.target = self.target
165
build_rust.verbose = self.verbose
166
- options = self.distribution.get_cmdline_options().get("bdist_wheel", {})
167
- plat_name = options.get("plat-name") or self.plat_name
+
+ bdist_wheel = self.distribution.get_command_obj("bdist_wheel")
168
+ plat_name = bdist_wheel.plat_name or self.plat_name
169
build_rust.plat_name = plat_name
170
build_rust.run()
171
0 commit comments