Move dependencies.py into a subdirectory.

This commit is contained in:
Elliott Sales de Andrade 2017-04-15 15:59:30 -04:00
parent 1aa68cf6e3
commit 92557e1c2a
2 changed files with 20 additions and 5 deletions

View File

@ -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 *

View File

@ -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'''