aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/modules/python.py
diff options
context:
space:
mode:
Diffstat (limited to 'mesonbuild/modules/python.py')
-rw-r--r--mesonbuild/modules/python.py5
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'