| 1 |
# -*- coding: utf-8 -*- |
| 2 |
|
| 3 |
# #################################################################### |
| 4 |
# Copyright (C) 2005-2019 by the FIFE team |
| 5 |
# http://www.fifengine.net |
| 6 |
# This file is part of FIFE. |
| 7 |
# |
| 8 |
# FIFE is free software; you can redistribute it and/or |
| 9 |
# modify it under the terms of the GNU Lesser General Public |
| 10 |
# License as published by the Free Software Foundation; either |
| 11 |
# version 2.1 of the License, or (at your option) any later version. |
| 12 |
# |
| 13 |
# This library is distributed in the hope that it will be useful, |
| 14 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
| 16 |
# Lesser General Public License for more details. |
| 17 |
# |
| 18 |
# You should have received a copy of the GNU Lesser General Public |
| 19 |
# License along with this library; if not, write to the |
| 20 |
# Free Software Foundation, Inc., |
| 21 |
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA |
| 22 |
# #################################################################### |
| 23 |
|
| 24 |
# the following dictionary defines the allowed dependencies checked while testing |
| 25 |
# format = module -> allowed dependencies from this module |
| 26 |
ALLOWED_MODULE_DEPS = { |
| 27 |
'controller': ('model', 'eventchannel', 'gui', 'video', 'loaders', 'view', 'audio', 'util', 'vfs', 'pathfinder'), |
| 28 |
'model': ('util', 'eventchannel'), |
| 29 |
'eventchannel': ('util',), |
| 30 |
'gui': ('eventchannel', 'util', 'video', 'vfs'), |
| 31 |
'video': ('util',), |
| 32 |
'loaders': ('audio', 'video', 'vfs', 'xml', 'util', 'view', 'model'), |
| 33 |
'view': ('model', 'video', 'util', 'audio', 'eventchannel'), |
| 34 |
'audio': ('util', 'vfs'), |
| 35 |
'util': ['engine'], |
| 36 |
'vfs': ('util',), |
| 37 |
'xml': ('vfs', 'util'), |
| 38 |
'pathfinder': ('util', 'model'), |
| 39 |
} |