Skip to content

Commit 7578715

Browse files
authored
Merge pull request #145 from akubera/master
Add finalization of command option "plat_name"
2 parents 61b0603 + 2129e49 commit 7578715

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)