[Python-modules-commits] [python-attrs] 06/11: Add build directory to sys.path for autodoc.
Tristan Seligmann
mithrandi at moszumanska.debian.org
Mon Oct 10 02:57:48 UTC 2016
This is an automated email from the git hooks/post-receive script.
mithrandi pushed a commit to branch master
in repository python-attrs.
commit f3e629e9b8f36869592086e85ad1d5ee294a73ef
Author: Tristan Seligmann <mithrandi at mithrandi.net>
Date: Mon Oct 10 04:42:22 2016 +0200
Add build directory to sys.path for autodoc.
---
docs/conf.py | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/docs/conf.py b/docs/conf.py
index bcff855..6c4ea71 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -47,7 +47,8 @@ def find_version(*file_paths):
# If extensions (or modules to document with autodoc) are in another directory,
# add these directories to sys.path here. If the directory is relative to the
# documentation root, use os.path.abspath to make it absolute, like shown here.
-#sys.path.insert(0, os.path.abspath('.'))
+import sys
+sys.path.insert(0, os.path.abspath('../.pybuild/pythonX.Y_3.5/build'))
# -- General configuration ------------------------------------------------
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/python-attrs.git
More information about the Python-modules-commits
mailing list