mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-05-09 03:52:39 +02:00
Merge branch 'master' of github.com:SheffieldML/GPy
This commit is contained in:
commit
232376ca73
2 changed files with 3 additions and 5 deletions
|
|
@ -10,7 +10,7 @@ from parameterised import parameterised, truncate_pad
|
|||
import priors
|
||||
from ..util.linalg import jitchol
|
||||
from ..inference import optimization
|
||||
from .. import likelihoods
|
||||
from GPy import likelihoods
|
||||
|
||||
class model(parameterised):
|
||||
def __init__(self):
|
||||
|
|
|
|||
|
|
@ -103,7 +103,6 @@ class Mock(object):
|
|||
else:
|
||||
return Mock()
|
||||
|
||||
#sys.path.append("../GPy")
|
||||
#import mock
|
||||
|
||||
print "Mocking"
|
||||
|
|
@ -115,10 +114,9 @@ for mod_name in MOCK_MODULES:
|
|||
# ----------------------- READTHEDOCS ------------------
|
||||
on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
|
||||
|
||||
import GPy
|
||||
|
||||
if on_rtd:
|
||||
sys.path.append("../GPy")
|
||||
sys.path.insert(0, os.getcwd() + "/../GPy")
|
||||
#sys.path.append("../GPy")
|
||||
os.system("pwd")
|
||||
os.system("sphinx-apidoc -f -o . ../GPy")
|
||||
#os.system("cd ..")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue