Removed path again

This commit is contained in:
Alan Saul 2013-02-08 14:03:48 +00:00
parent 7de5896e05
commit ffd4bbbe54

View file

@ -42,9 +42,9 @@ except ImportError:
# If extensions (or modules to document with autodoc) are in another directory,
# 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, os.path.abspath('../GPy'))
#sys.path.insert(0, os.path.abspath('../GPy'))
print "sys.path.after:", sys.path
#print "sys.path.after:", sys.path
# If your extensions are in another directory, add it here. If the directory
@ -115,7 +115,7 @@ for mod_name in MOCK_MODULES:
# ----------------------- READTHEDOCS ------------------
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
#import GPy
import GPy
if on_rtd:
sys.path.append("../GPy")