Skip to content

Commit

Permalink
mesonpy: update code to pyproject-metadata 0.5.0
Browse files Browse the repository at this point in the history
Signed-off-by: Filipe Laíns <lains@riseup.net>
  • Loading branch information
FFY00 committed Jun 9, 2022
1 parent 678a586 commit c01645a
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mesonpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -424,9 +424,6 @@ def __init__(
# set version if dynamic (this fetches it from Meson)
if self._metadata and 'version' in self._metadata.dynamic:
self._metadata.version = self.version
# version is no longer dynamic
# XXX: Should this be automatically handled by pep621/pyproject-metadata?
self._metadata.dynamic.remove('version')

def _proc(self, *args: str) -> None:
print('{cyan}{bold}+ {}{reset}'.format(' '.join(args), **_STYLES))
Expand Down

0 comments on commit c01645a

Please sign in to comment.