mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-08 15:05:15 +02:00
More fixing...
This commit is contained in:
parent
23aa9be73c
commit
fe1c5431df
2 changed files with 3 additions and 4 deletions
|
|
@ -29,8 +29,7 @@ try:
|
|||
except ImportError:
|
||||
from mock import MagicMock
|
||||
|
||||
MOCK_MODULES = ['numpy', 'quantities', 'scipy', 'scipy.spatial',
|
||||
'scipy.spatial.distance']
|
||||
MOCK_MODULES = ['numpy', 'pylab', 'scipy']
|
||||
for mod_name in MOCK_MODULES:
|
||||
sys.modules[mod_name] = MagicMock()
|
||||
|
||||
|
|
@ -50,7 +49,7 @@ except ImportError:
|
|||
#sys.modules['guiqwt.tools'].CommandTool = CommandTool
|
||||
#sys.modules['guiqwt.tools'].InteractiveTool = InteractiveTool
|
||||
|
||||
import Gpy
|
||||
import GPy
|
||||
|
||||
|
||||
# If your extensions are in another directory, add it here. If the directory
|
||||
|
|
|
|||
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=['sympy', 'numpy>=1.6', 'scipy>=0.9','matplotlib>=1.1', 'mock'],
|
||||
setup_requires=['sphinx'],
|
||||
cmdclass = {'build_sphinx': BuildDoc},
|
||||
classifiers=[
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue