diff --git a/doc/conf.py b/doc/conf.py index ae3c67be..c08c6516 100644 --- a/doc/conf.py +++ b/doc/conf.py @@ -39,6 +39,8 @@ except ImportError: APP_DIR = os.path.normpath(os.path.join(os.getcwd(), '../..')) sys.path.insert(0, APP_DIR) +sys.path.insert(0, os.path.abspath('../GPy')) +print "sys.path:", sys.path #sys.path.insert(0, os.getcwd() + "/..") @@ -121,8 +123,8 @@ if on_rtd: #sys.path.insert(0, os.getcwd() + "/../GPy") #sys.path.append(os.getcwd() + "/../GPy") print "I am here" - os.system("pwd") - os.system("ls ../") + print(os.system("pwd")) + print(os.system("ls ../")) os.system("sphinx-apidoc -f -o . ../GPy") #os.system("cd ..") #os.system("cd ./docs")