mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-11 15:15:15 +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:
|
||||
#return Mock()
|
||||
|
||||
sys.path.append("../GPy")
|
||||
import mock
|
||||
|
||||
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,
|
||||
# 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('..'))
|
||||
sys.path.insert(0, os.path.abspath('..'))
|
||||
|
||||
# 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
|
||||
|
|
@ -147,8 +148,8 @@ on_rtd = os.environ.get('READTHEDOCS', None) == 'True'
|
|||
if on_rtd:
|
||||
sys.path.append("../GPy")
|
||||
os.system("pwd")
|
||||
#os.system("cd ..")
|
||||
os.system("sphinx-apidoc -f -o . ../GPy")
|
||||
#os.system("cd ..")
|
||||
#os.system("cd ./docs")
|
||||
|
||||
# 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'),
|
||||
#ext_modules = [Extension(name = 'GPy.kern.lfmUpsilonf2py',
|
||||
# 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'],
|
||||
cmdclass = {'build_sphinx': BuildDoc},
|
||||
classifiers=[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue