diff options
| author | Eli Schwartz <eschwartz@archlinux.org> | 2021-06-15 21:45:45 -0400 |
|---|---|---|
| committer | Eli Schwartz <eschwartz@archlinux.org> | 2021-06-17 13:22:25 -0400 |
| commit | bbcc91c1e5a904639633a5797d635852a0f77971 (patch) | |
| tree | 0c404d757b204dcf67c8fca9797d17172a5f94b4 /mesonbuild/dependencies/__init__.py | |
| parent | d591353b7874816378f9f61df69829a5cf135b4b (diff) | |
| download | meson-bbcc91c1e5a904639633a5797d635852a0f77971.tar.gz | |
expose SystemDependency and BuiltinDependency as toplevel classes
mesonbuild.dependencies.__init__ exposes configtool, pkgconfig, cmake
and more in __init__.py, so there's no reason we should be tying
SystemDependency to the internal organization implementation of the
subpackage!
In the 2nd previous commit it took quite some effort to figure out that
the python module "does not exist" because of import errors while
refactoring something completely different.
Diffstat (limited to 'mesonbuild/dependencies/__init__.py')
| -rw-r--r-- | mesonbuild/dependencies/__init__.py | 6 |
1 files changed, 5 insertions, 1 deletions
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', |
