mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-23 15:48:09 +02:00
Merge branch 'master' of github.com:SheffieldML/GPy
This commit is contained in:
commit
161fc0c26b
3 changed files with 2370 additions and 3 deletions
|
|
@ -111,6 +111,7 @@ import sys, os
|
||||||
#else:
|
#else:
|
||||||
#return Mock()
|
#return Mock()
|
||||||
|
|
||||||
|
sys.path.append("../GPy")
|
||||||
import mock
|
import mock
|
||||||
|
|
||||||
MOCK_MODULES = ['pylab', 'matplotlib']#'matplotlib', 'matplotlib.color', 'matplotlib.pyplot', 'pylab' ]
|
MOCK_MODULES = ['pylab', 'matplotlib']#'matplotlib', 'matplotlib.color', 'matplotlib.pyplot', 'pylab' ]
|
||||||
|
|
@ -120,7 +121,7 @@ for mod_name in MOCK_MODULES:
|
||||||
# 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('..'))
|
sys.path.insert(0, os.path.abspath('..'))
|
||||||
|
|
||||||
# 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
|
||||||
# is relative to the documentation root, use os.path.abspath to make it
|
# is relative to the documentation root, use os.path.abspath to make it
|
||||||
|
|
@ -147,8 +148,8 @@ on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
|
||||||
if on_rtd:
|
if on_rtd:
|
||||||
sys.path.append("../GPy")
|
sys.path.append("../GPy")
|
||||||
os.system("pwd")
|
os.system("pwd")
|
||||||
#os.system("cd ..")
|
|
||||||
os.system("sphinx-apidoc -f -o . ../GPy")
|
os.system("sphinx-apidoc -f -o . ../GPy")
|
||||||
|
#os.system("cd ..")
|
||||||
#os.system("cd ./docs")
|
#os.system("cd ./docs")
|
||||||
|
|
||||||
# Add any paths that contain templates here, relative to this directory.
|
# Add any paths that contain templates here, relative to this directory.
|
||||||
|
|
|
||||||
2366
doc/mock.py
Normal file
2366
doc/mock.py
Normal file
File diff suppressed because it is too large
Load diff
2
setup.py
2
setup.py
|
|
@ -26,7 +26,7 @@ setup(name = 'GPy',
|
||||||
long_description=read('README.md'),
|
long_description=read('README.md'),
|
||||||
#ext_modules = [Extension(name = 'GPy.kern.lfmUpsilonf2py',
|
#ext_modules = [Extension(name = 'GPy.kern.lfmUpsilonf2py',
|
||||||
# sources = ['GPy/kern/src/lfmUpsilonf2py.f90'])],
|
# sources = ['GPy/kern/src/lfmUpsilonf2py.f90'])],
|
||||||
install_requires=['sympy', 'numpy>=1.6', 'scipy>=0.9','matplotlib>=1.1'],
|
install_requires=['mock', 'sympy', 'numpy>=1.6', 'scipy>=0.9','matplotlib>=1.1'],
|
||||||
setup_requires=['sphinx'],
|
setup_requires=['sphinx'],
|
||||||
cmdclass = {'build_sphinx': BuildDoc},
|
cmdclass = {'build_sphinx': BuildDoc},
|
||||||
classifiers=[
|
classifiers=[
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue