Skip to content

Commit fb4dfb5

Browse files
committed
ENH: cache platform tag
This will prevent the duplicated MACOSX_DEPLOYMENT_TARGET message. Signed-off-by: Filipe Laíns <[email protected]>
1 parent 1c845c4 commit fb4dfb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mesonpy/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ def abi_tag(self) -> str:
253253
return selected_tag.abi
254254
return 'none'
255255

256-
@property
256+
@cached_property
257257
def platform_tag(self) -> str:
258258
if self.is_pure:
259259
return 'any'

0 commit comments

Comments
 (0)