diff options
author | lloyd <[email protected]> | 2011-04-04 16:15:48 +0000 |
---|---|---|
committer | lloyd <[email protected]> | 2011-04-04 16:15:48 +0000 |
commit | ac8ef535a24bd9418f52c27499e143b00844042d (patch) | |
tree | 62b7b3737a314a9d0bc5b64457c63b68f5700c2d | |
parent | ca350f3da57240d03e4372a91130552096af79c4 (diff) |
Avoid pyc file from running Sphinx
-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, |