aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mesonbuild/dependencies/__init__.py15
-rw-r--r--mesonbuild/dependencies/base.py (renamed from mesonbuild/dependencies.py)10
2 files changed, 20 insertions, 5 deletions
diff --git a/mesonbuild/dependencies/__init__.py b/mesonbuild/dependencies/__init__.py
new file mode 100644
index 0000000..9281798
--- /dev/null
+++ b/mesonbuild/dependencies/__init__.py
@@ -0,0 +1,15 @@
+# Copyright 2017 The Meson development team
+
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+
+# http://www.apache.org/licenses/LICENSE-2.0
+
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+from .base import *
diff --git a/mesonbuild/dependencies.py b/mesonbuild/dependencies/base.py
index d9a7c9c..3c9876c 100644
--- a/mesonbuild/dependencies.py
+++ b/mesonbuild/dependencies/base.py
@@ -27,11 +27,11 @@ import subprocess
import sysconfig
from enum import Enum
from collections import OrderedDict
-from . import mlog
-from . import mesonlib
-from .mesonlib import Popen_safe, flatten
-from .mesonlib import MesonException, version_compare, version_compare_many
-from .environment import detect_cpu_family, for_windows
+from .. import mlog
+from .. import mesonlib
+from ..mesonlib import Popen_safe, flatten
+from ..mesonlib import MesonException, version_compare, version_compare_many
+from ..environment import detect_cpu_family, for_windows
class DependencyException(MesonException):
'''Exceptions raised while trying to find dependencies'''