Skip to content

Commit

Permalink
ENH: tighten parsing of meson install arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
dnicolodi committed Nov 11, 2023
1 parent 0dd2824 commit f3353bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -795,7 +795,7 @@ def _manifest(self) -> DefaultDict[str, List[Tuple[pathlib.Path, str]]]:
install_plan = self._info('intro-install_plan')

# Parse the 'meson install' args to extract --tags and --skip-subprojects
parser = argparse.ArgumentParser()
parser = argparse.ArgumentParser(add_help=False)
parser.add_argument('--tags')
parser.add_argument('--skip-subprojects', nargs='?', const='*', default='')
args, _ = parser.parse_known_args(self._meson_args['install'])
Expand Down

0 comments on commit f3353bb

Please sign in to comment.