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, 3 insertions, 2 deletions
diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py
index 5a6daa0..91443b8 100644
--- a/mesonbuild/modules/python.py
+++ b/mesonbuild/modules/python.py
@@ -20,7 +20,7 @@ import os
import shutil
import typing as T
-from . import ExtensionModule
+from . import ExtensionModule, ModuleInfo
from .. import mesonlib
from .. import mlog
from ..coredata import UserFeatureOption
@@ -663,7 +663,8 @@ class PythonInstallation(ExternalProgramHolder):
class PythonModule(ExtensionModule):
- @FeatureNew('Python Module', '0.46.0')
+ INFO = ModuleInfo('python', '0.46.0')
+
def __init__(self, interpreter: 'Interpreter') -> None:
super().__init__(interpreter)
self.installations: T.Dict[str, ExternalProgram] = {}