aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElliott Sales de Andrade <quantum.analyst@gmail.com>2017-04-15 15:59:30 -0400
committerElliott Sales de Andrade <quantum.analyst@gmail.com>2017-05-09 17:39:38 -0400
commit92557e1c2a97be6fb0b5c4aa7a12a43b5d43462c (patch)
treef4800e0417efaf514f5b8b3704053f4bd76d6733
parent1aa68cf6e3b05b63bf858aa005c34aeea362e3f9 (diff)
downloadmeson-92557e1c2a97be6fb0b5c4aa7a12a43b5d43462c.zip
meson-92557e1c2a97be6fb0b5c4aa7a12a43b5d43462c.tar.gz
meson-92557e1c2a97be6fb0b5c4aa7a12a43b5d43462c.tar.bz2
Move dependencies.py into a subdirectory.
-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'''