Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'SConstruct')
-rw-r--r--SConstruct8
1 files changed, 5 insertions, 3 deletions
diff --git a/SConstruct b/SConstruct
index 3cdb5aeace7..03aee18413c 100644
--- a/SConstruct
+++ b/SConstruct
@@ -616,11 +616,13 @@ if not env['WITHOUT_BF_INSTALL']:
#------------ EPYDOC
if env['WITH_BF_DOCS']:
- try:
- import epydoc
+ try: import epydoc
+ except: epydoc = None
+
+ if epydoc:
SConscript('source/blender/python/api2_2x/doc/SConscript')
SConscript('source/gameengine/PyDoc/SConscript')
- except ImportError:
+ else:
print "No epydoc install detected, Python API and Gameengine API Docs will not be generated "