diff options
author | Nirbheek Chauhan <nirbheek@centricular.com> | 2018-07-02 02:17:19 +0530 |
---|---|---|
committer | Nirbheek Chauhan <nirbheek.chauhan@gmail.com> | 2018-07-02 07:05:08 +0000 |
commit | 907a68bcf17da27d7f76a0696654803c901779a4 (patch) | |
tree | eda540668f654ec7f79291d2e61df31623feeb9e /mesonbuild/modules/python.py | |
parent | 18cd3bd31a305b9bf4c901c03ab056c622dbcbc9 (diff) | |
download | meson-907a68bcf17da27d7f76a0696654803c901779a4.zip meson-907a68bcf17da27d7f76a0696654803c901779a4.tar.gz meson-907a68bcf17da27d7f76a0696654803c901779a4.tar.bz2 |
FeatureNew: Fix method names for some feature checks
Diffstat (limited to 'mesonbuild/modules/python.py')
-rw-r--r-- | mesonbuild/modules/python.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py index b9b6a4f..9a90fe9 100644 --- a/mesonbuild/modules/python.py +++ b/mesonbuild/modules/python.py @@ -50,7 +50,6 @@ 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' @@ -432,6 +431,8 @@ class PythonInstallation(ExternalProgramHolder, InterpreterObject): class PythonModule(ExtensionModule): + + @FeatureNew('Python Module', '0.46.0') def __init__(self, *args, **kwargs): super().__init__(*args, **kwargs) self.snippets.add('find_installation') |