Skip to content

Commit 2129e49

Browse files
committed
Add finalization of option "plat_name"
1 parent 61b0603 commit 2129e49

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

setuptools_rust/build.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ def initialize_options(self):
6464
def finalize_options(self):
6565
super().finalize_options()
6666

67+
if self.plat_name is None:
68+
self.plat_name = self.get_finalized_command('build').plat_name
69+
6770
# Inherit settings from the `build_ext` command
6871
self.set_undefined_options(
6972
"build_ext",

0 commit comments

Comments
 (0)