Docs: simplify EXCLUDE_MODULES handling
This commit is contained in:
@@ -222,7 +222,7 @@ if not ARGS.partial:
|
|||||||
FILTER_BPY_OPS = None
|
FILTER_BPY_OPS = None
|
||||||
FILTER_BPY_TYPES = None
|
FILTER_BPY_TYPES = None
|
||||||
EXCLUDE_INFO_DOCS = False
|
EXCLUDE_INFO_DOCS = False
|
||||||
EXCLUDE_MODULES = ()
|
EXCLUDE_MODULES = []
|
||||||
|
|
||||||
else:
|
else:
|
||||||
# can manually edit this too:
|
# can manually edit this too:
|
||||||
@@ -311,19 +311,21 @@ try:
|
|||||||
__import__("aud")
|
__import__("aud")
|
||||||
except ImportError:
|
except ImportError:
|
||||||
BPY_LOGGER.debug("Warning: Built without 'aud' module, docs incomplete...")
|
BPY_LOGGER.debug("Warning: Built without 'aud' module, docs incomplete...")
|
||||||
EXCLUDE_MODULES = list(EXCLUDE_MODULES) + ["aud"]
|
EXCLUDE_MODULES.append("aud")
|
||||||
|
|
||||||
try:
|
try:
|
||||||
__import__("freestyle")
|
__import__("freestyle")
|
||||||
except ImportError:
|
except ImportError:
|
||||||
BPY_LOGGER.debug("Warning: Built without 'freestyle' module, docs incomplete...")
|
BPY_LOGGER.debug("Warning: Built without 'freestyle' module, docs incomplete...")
|
||||||
EXCLUDE_MODULES = list(EXCLUDE_MODULES) + ["freestyle",
|
EXCLUDE_MODULES.extend([
|
||||||
"freestyle.chainingiterators",
|
"freestyle",
|
||||||
"freestyle.functions",
|
"freestyle.chainingiterators",
|
||||||
"freestyle.predicates",
|
"freestyle.functions",
|
||||||
"freestyle.shaders",
|
"freestyle.predicates",
|
||||||
"freestyle.types",
|
"freestyle.shaders",
|
||||||
"freestyle.utils"]
|
"freestyle.types",
|
||||||
|
"freestyle.utils",
|
||||||
|
])
|
||||||
|
|
||||||
# Source files we use, and need to copy to the OUTPUT_DIR
|
# Source files we use, and need to copy to the OUTPUT_DIR
|
||||||
# to have working out-of-source builds.
|
# to have working out-of-source builds.
|
||||||
|
|||||||
Reference in New Issue
Block a user