BlenderVR / source

Blender Virtual Reality Main Code
52 stars 21 forks source link

Add a dummy QT module to sys.modules before generating the pydocs #9

Closed dfelinto closed 9 years ago

dfelinto commented 9 years ago

Any class that inherits a package that is not available (e.g., QT related classes) will fail at auto-documentation.

The solution is to create a 'dummy' replacement of those classes and add it to the sys.modules dictionary. I haven't tested this, but it was recommended by Campbell Barton (Python maintainer of Blender) during the Blender Conference 2014.

This is a subtask of #7 and related to #8

dfelinto commented 9 years ago

Done