mirror of
https://github.com/SheffieldML/GPy.git
synced 2026-06-14 15:25:15 +02:00
Fix issues encountered in modern python versions (#1011)
* Update setup.py remove special handling of scipy dependencies for old python versions * Update __init__.py replace numpy type by native type * replace np.bool by bool
This commit is contained in:
parent
f63ed48b0d
commit
3c3ec60dea
5 changed files with 7 additions and 11 deletions
6
setup.py
6
setup.py
|
|
@ -119,11 +119,7 @@ except ModuleNotFoundError:
|
|||
|
||||
install_requirements = ['numpy>=1.7', 'six', 'paramz>=0.9.0', 'cython>=0.29']
|
||||
matplotlib_version = 'matplotlib==3.3.4'
|
||||
if sys.version_info < (3, 6):
|
||||
install_requirements += ['scipy>=1.3.0,<1.5.0']
|
||||
matplotlib_version = 'matplotlib==3.0.0'
|
||||
else:
|
||||
install_requirements += ['scipy>=1.3.0']
|
||||
install_requirements += ['scipy>=1.3.0']
|
||||
|
||||
setup(name = 'GPy',
|
||||
version = __version__,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue