diff options
-rw-r--r-- | doc/conf.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/conf.py b/doc/conf.py index c3f8677fa..65c4c62ed 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -15,6 +15,10 @@ import sys, os sys.path.insert(0, os.pardir) +# Avoid useless botan_version.pyc (Python 2.6 or higher) +if 'dont_write_bytecode' in sys.__dict__: + sys.dont_write_bytecode = True + import botan_version # If extensions (or modules to document with autodoc) are in another directory, |