diff options
author | Peter Urban <peter.urban@ugent.be> | 2023-01-31 22:06:18 +0100 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek@centricular.com> | 2023-02-06 23:42:44 +0530 |
commit | 6e62ec8193163f01c563212eef7dfd64dcf199c2 (patch) | |
tree | c24f9afe72c6b9f6d065a128417f2f41fbe7cbf6 | |
parent | 4e24b1dbf4484250c051adeb280dcc74c04a6d8f (diff) | |
download | meson-1.0.zip meson-1.0.tar.gz meson-1.0.tar.bz2 |
set default install_tag of python.install_sources() to "python-runtime"1.0
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.py | 2 |
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( |