Changed path back, think we're closer when its in

This commit is contained in:
Alan Saul 2013-02-08 15:20:07 +00:00
parent 96971da3a7
commit 1c6313261d

View file

@ -37,6 +37,9 @@ try:
except ImportError:
print "no sphinx"
parent = os.path.dirname(os.path.dirname(__file__))
sys.path.append(os.path.abspath(parent))
#APP_DIR = os.path.normpath(os.path.join(os.getcwd(), '../'))
#PACKAGE_DIR1 = os.path.normpath(os.path.join(os.getcwd(), '../'))
#sys.path.insert(0, APP_DIR)
@ -125,8 +128,6 @@ on_rtd = True
if on_rtd:
print "I am here"
sys.path.append('../GPy')
import subprocess
proc = subprocess.Popen("pwd", stdout=subprocess.PIPE, shell=True)