mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-04-29 14:56:24 +02:00
Moved GPy import
This commit is contained in:
parent
ffd4bbbe54
commit
cd0363cbee
1 changed files with 1 additions and 3 deletions
|
|
@ -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")
|
||||
import 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