aboutsummaryrefslogtreecommitdiff
path: root/mesonbuild/dependencies/dev.py
diff options
context:
space:
mode:
authorDaniel Mensinger <daniel@mensinger-ka.de>2021-05-31 19:46:09 +0200
committerDylan Baker <dylan@pnwbakers.com>2021-06-03 10:23:27 -0700
commit95b70bcb97afa9177645e4926afdf3792fb73eb5 (patch)
treedea7c5ec83a7b2a90b533f58d50ad88b8961bc8f /mesonbuild/dependencies/dev.py
parent201dc6422683858f9656c8b572530237c810feef (diff)
downloadmeson-95b70bcb97afa9177645e4926afdf3792fb73eb5.zip
meson-95b70bcb97afa9177645e4926afdf3792fb73eb5.tar.gz
meson-95b70bcb97afa9177645e4926afdf3792fb73eb5.tar.bz2
deps: Split dependencies.base
Split the Factory and dependency classes out of the base.py script to improve maintainability.
Diffstat (limited to 'mesonbuild/dependencies/dev.py')
-rw-r--r--mesonbuild/dependencies/dev.py9
1 files changed, 5 insertions, 4 deletions
diff --git a/mesonbuild/dependencies/dev.py b/mesonbuild/dependencies/dev.py
index 07bf87a..345b24c 100644
--- a/mesonbuild/dependencies/dev.py
+++ b/mesonbuild/dependencies/dev.py
@@ -25,10 +25,11 @@ import typing as T
from .. import mesonlib, mlog
from ..mesonlib import version_compare, stringlistify, extract_as_list, MachineChoice
from ..environment import get_llvm_tool_names
-from .base import (
- DependencyException, DependencyMethods, ExternalDependency, PkgConfigDependency,
- strip_system_libdirs, ConfigToolDependency, CMakeDependency, DependencyFactory,
-)
+from .base import DependencyException, DependencyMethods, ExternalDependency, strip_system_libdirs
+from .cmake import CMakeDependency
+from .configtool import ConfigToolDependency
+from .pkgconfig import PkgConfigDependency
+from .factory import DependencyFactory
from .misc import threads_factory
from ..compilers.c import AppleClangCCompiler
from ..compilers.cpp import AppleClangCPPCompiler