Skip to content
Snippets Groups Projects
Commit 71914204 authored by Bienchen's avatar Bienchen
Browse files

Switched OST path

parent 9e7f14b6
No related branches found
No related tags found
No related merge requests found
......@@ -28,7 +28,7 @@ set(_SPHINX_CONF_SUBST_DICT PROMOD3_VERSION_MAJOR="${PROMOD3_VERSION_MAJOR}"
PYTHON_DOC_URL="${PYTHON_DOC_URL}"
LIB_STAGE_PATH="${LIB_STAGE_PATH}"
PYTHON_VERSION="${PYTHON_VERSION}"
OST_ROOT="${OST_ROOT}"
OST_PYMOD_PATH="${OST_PYMOD_PATH}"
OST_DOC_URL="${OST_DOC_URL}"
LIB_DIR="${LIB_DIR}")
......
......@@ -20,7 +20,7 @@ import sys, os
# 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, '@LIB_STAGE_PATH@/python@PYTHON_VERSION@/site-packages')
sys.path.insert(1, '@OST_ROOT@/@LIB_DIR@/python@PYTHON_VERSION@/site-packages')
sys.path.insert(1, '@OST_PYMOD_PATH@')
# -- General configuration -----------------------------------------------------
......@@ -282,7 +282,7 @@ rst_epilog = """
doctest_global_setup = """
import sys
sys.path.insert(0, '@LIB_STAGE_PATH@/python@PYTHON_VERSION@/site-packages')
sys.path.insert(1, '@OST_ROOT@/@LIB_DIR@/python@PYTHON_VERSION@/site-packages')
sys.path.insert(1, '@OST_PYMOD_PATH@')
import ost
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment