diff options
author | Peter Urban <peter.urban@ugent.be> | 2023-01-31 22:06:18 +0100 |
---|---|---|
committer | Eli Schwartz <eschwartz93@gmail.com> | 2023-02-02 19:32:43 -0500 |
commit | eec3f2c35b4a87f02918ece0b8b6c322213bd165 (patch) | |
tree | 38e440c4433afa9702a9f7715a96bd9561766d0c | |
parent | 0a6e485d92907dbaba8301a29335900501513621 (diff) | |
download | meson-eec3f2c35b4a87f02918ece0b8b6c322213bd165.zip meson-eec3f2c35b4a87f02918ece0b8b6c322213bd165.tar.gz meson-eec3f2c35b4a87f02918ece0b8b6c322213bd165.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.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( |