viff

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 diff
     1.1 --- a/doc/conf.py	Thu Apr 24 13:13:22 2008 +0200
     1.2 +++ b/doc/conf.py	Thu Apr 24 13:21:09 2008 +0200
     1.3 @@ -19,9 +19,12 @@
     1.4  #sys.path.append('some/directory')
     1.5  
     1.6  # Ensure we load VIFF from the parent directory.
     1.7 -import os.path
     1.8 +import os
     1.9  sys.path.insert(0, os.path.abspath('../'))
    1.10  
    1.11 +# Make viff.util.wrapper a no-op.
    1.12 +os.environ['VIFF_NO_WRAP'] = 'yes'
    1.13 +
    1.14  # General configuration
    1.15  # ---------------------
    1.16