diff --git a/mesonbuild/dependencies/__init__.py b/mesonbuild/dependencies/__init__.py index f196b73fa..0dafae169 100644 --- a/mesonbuild/dependencies/__init__.py +++ b/mesonbuild/dependencies/__init__.py @@ -16,7 +16,9 @@ from .boost import BoostDependency from .cuda import CudaDependency from .hdf5 import hdf5_factory from .base import Dependency, InternalDependency, ExternalDependency, NotFoundDependency -from .base import ExternalLibrary, DependencyException, DependencyMethods +from .base import ( + ExternalLibrary, DependencyException, DependencyMethods, + BuiltinDependency, SystemDependency) from .cmake import CMakeDependency from .configtool import ConfigToolDependency from .dub import DubDependency @@ -43,6 +45,8 @@ __all__ = [ 'Dependency', 'InternalDependency', 'ExternalDependency', + 'SystemDependency', + 'BuiltinDependency', 'NotFoundDependency', 'ExternalLibrary', 'DependencyException', diff --git a/mesonbuild/modules/python.py b/mesonbuild/modules/python.py index f1095031f..f3bcfabe5 100644 --- a/mesonbuild/modules/python.py +++ b/mesonbuild/modules/python.py @@ -30,8 +30,7 @@ from ..interpreter import ExternalProgramHolder, extract_required_kwarg, permitt from ..build import known_shmod_kwargs from .. import mlog from ..environment import detect_cpu_family -from ..dependencies import DependencyMethods, PkgConfigDependency, NotFoundDependency -from ..dependencies.base import SystemDependency +from ..dependencies import DependencyMethods, PkgConfigDependency, NotFoundDependency, SystemDependency from ..programs import ExternalProgram, NonExistingExternalProgram mod_kwargs = {'subdir'}