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 committed Sep 25, 2023
1 parent c2ceef5 commit 2b3c00b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/conf.py
Original file line number Diff line number Diff line change
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 2b3c00b

Please sign in to comment.