mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-02-16 20:54:23 +01:00
Moved the old module dependencies to the new system.
This commit is contained in:
parent
91fe9ed8ca
commit
6ff120dc85
@ -4,6 +4,8 @@ import sys
|
||||
|
||||
|
||||
def can_build(env, platform):
|
||||
env.module_add_dependencies("database_sqlite", ["database"], False)
|
||||
|
||||
return True
|
||||
|
||||
def _can_build():
|
||||
@ -51,8 +53,3 @@ def get_doc_classes():
|
||||
|
||||
def get_doc_path():
|
||||
return "doc_classes"
|
||||
|
||||
def get_module_dependencies():
|
||||
return [
|
||||
"database",
|
||||
]
|
||||
|
@ -1,6 +1,8 @@
|
||||
|
||||
|
||||
def can_build(env, platform):
|
||||
env.module_add_dependencies("users", ["web"], True)
|
||||
|
||||
return True
|
||||
|
||||
|
||||
@ -35,9 +37,3 @@ def get_doc_classes():
|
||||
def get_doc_path():
|
||||
return "doc_classes"
|
||||
|
||||
# This is (or should be if not) an optional dependency, it's needed so the web module is built first, as some classes need to inherit from WebNode (only when web module is enabled).
|
||||
def get_module_dependencies():
|
||||
return [
|
||||
"web",
|
||||
]
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user