diff options
author | Salamandar <felix@piedallu.me> | 2018-04-27 17:46:02 +0200 |
---|---|---|
committer | Salamandar <felix@piedallu.me> | 2018-06-01 14:23:24 +0200 |
commit | 2fb601876355587afd39691b361a4de6d30f9344 (patch) | |
tree | 353759d3703fd74dd7c751688a704c2a09ab8a63 /mesonbuild/modules/python.py | |
parent | 364b8a37b9da0a0b318f4c60be67f37dfa51a295 (diff) | |
download | meson-2fb601876355587afd39691b361a4de6d30f9344.zip meson-2fb601876355587afd39691b361a4de6d30f9344.tar.gz meson-2fb601876355587afd39691b361a4de6d30f9344.tar.bz2 |
Add 0.46.0 features
Diffstat (limited to 'mesonbuild/modules/python.py')
-rw-r--r-- | mesonbuild/modules/python.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py index a705109..b30a1e6 100644 --- a/mesonbuild/modules/python.py +++ b/mesonbuild/modules/python.py @@ -22,7 +22,8 @@ from mesonbuild.modules import ModuleReturnValue from . import permittedSnippetKwargs from ..interpreterbase import ( noPosargs, noKwargs, permittedKwargs, - InterpreterObject, InvalidArguments + InterpreterObject, InvalidArguments, + FeatureNew ) from ..interpreter import ExternalProgramHolder from ..interpreterbase import flatten @@ -49,6 +50,8 @@ def run_command(python, command): class PythonDependency(ExternalDependency): + + @FeatureNew('Python Module', '0.46.0') def __init__(self, python_holder, environment, kwargs): super().__init__('python', environment, None, kwargs) self.name = 'python' |