aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Urban <peter.urban@ugent.be>2023-01-31 22:06:18 +0100
committerNirbheek Chauhan <nirbheek@centricular.com>2023-02-19 02:55:58 +0530
commit5dcca393232b1f4a62b4110ae6dc26388a523a62 (patch)
tree2fa91eccacb61a4d158b0292b2e6789af7d67f14
parent4b4e516e1684abdc201cd7b8c4fb2c3e28db1ccd (diff)
downloadmeson-5dcca393232b1f4a62b4110ae6dc26388a523a62.zip
meson-5dcca393232b1f4a62b4110ae6dc26388a523a62.tar.gz
meson-5dcca393232b1f4a62b4110ae6dc26388a523a62.tar.bz2
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
-rw-r--r--mesonbuild/modules/python.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py
index f74d10e..0c3d6a1 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(