Skip to content

Commit

Permalink
allow build documentatiomn without have BTrees module installed
Browse files Browse the repository at this point in the history
This patch allow build documentation without have `BTrees` module
installed.
It has been mentioned in #180.

Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
  • Loading branch information
kloczek authored and icemac committed Mar 1, 2024
1 parent 2b2e271 commit bad85b2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Expand Up @@ -14,11 +14,11 @@
#import sys, os
import sys
import os
import pkg_resources
# We actually have slightly better results by documenting the
# C objects right now.
# os.environ['PURE_PYTHON'] = '1'
sys.path.append(os.path.abspath('../'))
sys.path.append(os.path.abspath("../src"))
import pkg_resources
rqmt = pkg_resources.require('BTrees')[0]

# If extensions (or modules to document with autodoc) are in another directory,
Expand Down

0 comments on commit bad85b2

Please sign in to comment.