Skip to content
Snippets Groups Projects
Commit 4aa72d4d authored by Gerardo Tauriello's avatar Gerardo Tauriello
Browse files

Make sure ost doc/make.py finds new modules in root and in build folder.

parent 690e37a8
Branches
No related tags found
No related merge requests found
...@@ -14,11 +14,18 @@ ...@@ -14,11 +14,18 @@
import sys, os import sys, os
site_packs='python%d.%d/site-packages' % sys.version_info[0:2] site_packs='python%d.%d/site-packages' % sys.version_info[0:2]
sys.path.append(os.path.join(os.path.abspath('../..'), # here we make sure that these paths are checked first...
'stage/lib', site_packs)) # note that we probably should use cmake to set these paths (see PM3)
sys.path.append(os.path.join(os.path.abspath('../..'), sys.path.insert(0, os.path.join(os.path.abspath('../../build'),
'stage/lib64', site_packs)) 'stage/lib', site_packs))
sys.path.insert(0, os.path.join(os.path.abspath('../../build'),
'stage/lib64', site_packs))
sys.path.insert(0, os.path.join(os.path.abspath('../..'),
'stage/lib', site_packs))
sys.path.insert(0, os.path.join(os.path.abspath('../..'),
'stage/lib64', site_packs))
print site_packs print site_packs
print os.path.abspath('../..')
import ost import ost
# -- General configuration ----------------------------------------------------- # -- General configuration -----------------------------------------------------
...@@ -42,7 +49,7 @@ master_doc = 'index' ...@@ -42,7 +49,7 @@ master_doc = 'index'
# General information about the project. # General information about the project.
project = u'OpenStructure' project = u'OpenStructure'
copyright = u'2018, OpenStructure authors' copyright = u'2019, OpenStructure authors'
# The version info for the project you're documenting, acts as replacement for # The version info for the project you're documenting, acts as replacement for
# |version| and |release|, also used in various other places throughout the # |version| and |release|, also used in various other places throughout the
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment