Skip to content

Commit f2bd4cf

Browse files
dnicolodirgommers
authored andcommitted
MAINT: avoid indirection in getting the package version
1 parent 13f9a0f commit f2bd4cf

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
@@ -283,7 +283,7 @@ def normalized_name(self) -> str:
283283
@property
284284
def basename(self) -> str:
285285
"""Normalized wheel name and version."""
286-
return f'{self.normalized_name}-{self._project.version}'
286+
return f'{self.normalized_name}-{self._metadata.version}'
287287

288288
@property
289289
def tag(self) -> mesonpy._tags.Tag:

0 commit comments

Comments
 (0)