diff options
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 8 |
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 " |