mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-15 06:52:39 +02:00
Removed path again
This commit is contained in:
parent
7de5896e05
commit
ffd4bbbe54
1 changed files with 3 additions and 3 deletions
|
|
@ -42,9 +42,9 @@ except ImportError:
|
||||||
# If extensions (or modules to document with autodoc) are in another directory,
|
# 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
|
# 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.
|
# 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
|
# If your extensions are in another directory, add it here. If the directory
|
||||||
|
|
@ -115,7 +115,7 @@ for mod_name in MOCK_MODULES:
|
||||||
# ----------------------- READTHEDOCS ------------------
|
# ----------------------- READTHEDOCS ------------------
|
||||||
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
|
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
|
||||||
|
|
||||||
#import GPy
|
import GPy
|
||||||
|
|
||||||
if on_rtd:
|
if on_rtd:
|
||||||
sys.path.append("../GPy")
|
sys.path.append("../GPy")
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue