changeset 728:fa33d8c71256

Make viff.util.wrapper a no-op when using Sphinx.
author Martin Geisler <mg@daimi.au.dk>
date Thu, 24 Apr 2008 13:21:09 +0200
parents 036c28e36895
children cade54734d47
files doc/conf.py
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/doc/conf.py	Thu Apr 24 13:13:22 2008 +0200
+++ b/doc/conf.py	Thu Apr 24 13:21:09 2008 +0200
@@ -19,9 +19,12 @@
 #sys.path.append('some/directory')
 
 # Ensure we load VIFF from the parent directory.
-import os.path
+import os
 sys.path.insert(0, os.path.abspath('../'))
 
+# Make viff.util.wrapper a no-op.
+os.environ['VIFF_NO_WRAP'] = 'yes'
+
 # General configuration
 # ---------------------