1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23
|
Subject: Do not modify sys.path in sphinx config
Author: Alexander Sulfrian <alexander@sulfrian.net>
Forwarded: not-needed
We want to set PYTHONPATH in debian/rules to the correct pybuild build
directory. If this path is modified afterwards, the correct modules cannot be
found by sphinx autodoc.
Index: python-atom/docs/source/conf.py
===================================================================
--- python-atom.orig/docs/source/conf.py
+++ python-atom/docs/source/conf.py
@@ -16,10 +16,6 @@ import os
import sys
from packaging.version import parse
-
-sys.path.insert(0, os.path.abspath("."))
-sys.path.insert(0, os.path.abspath("../"))
-
from atom.version import __version__
# -- Project information -----------------------------------------------------
|