From eec3f2c35b4a87f02918ece0b8b6c322213bd165 Mon Sep 17 00:00:00 2001 From: Peter Urban Date: Tue, 31 Jan 2023 22:06:18 +0100 Subject: [PATCH] set default install_tag of python.install_sources() to "python-runtime" the default parameter for python.install_sources is set to "runtime" but should be "python-runtime" according to the existing documentation - https://mesonbuild.com/Python-module.html#install_sources - https://mesonbuild.com/Installing.html#installation-tags --- mesonbuild/modules/python.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py index f74d10e4c..0c3d6a1f2 100644 --- a/mesonbuild/modules/python.py +++ b/mesonbuild/modules/python.py @@ -611,7 +611,7 @@ class PythonInstallation(ExternalProgramHolder): ) def install_sources_method(self, args: T.Tuple[T.List[T.Union[str, mesonlib.File]]], kwargs: 'PyInstallKw') -> 'Data': - tag = kwargs['install_tag'] or 'runtime' + tag = kwargs['install_tag'] or 'python-runtime' pure = kwargs['pure'] if kwargs['pure'] is not None else self.pure install_dir = self._get_install_dir_impl(pure, kwargs['subdir']) return self.interpreter.install_data_impl(