Skip to content

Commit

Permalink
upgrade to pyproject.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
jdtuck committed Apr 18, 2022
1 parent 49fd7a8 commit 68b44f5
Show file tree
Hide file tree
Showing 2 changed files with 47 additions and 2 deletions.
47 changes: 47 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
[project]
name = "GPy"
version = "1.10.0"
description = "The Gaussian Process Toolbox"
authors = [
{name = "GPy Authors: https://github.com/SheffieldML/GPy/graphs/contributors", email = "gpy.authors@gmail.com"}
]
license = {text = "BSD 3-Clause"}
readme = "README.md"
requires-python = ">=3.6"

keywords = ["machine-learning gaussian-processes kernels"]

dependencies=[
"numpy>=1.7",
"matplotlib==3.3.4",
"six",
"paramz>=0.9.0",
"cython>=0.29",
]

classifiers = [
'License :: OSI Approved :: BSD License',
'Natural Language :: English',
'Operating System :: MacOS :: MacOS X',
'Operating System :: Microsoft :: Windows',
'Operating System :: POSIX :: Linux',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Python :: 3.7',
'Programming Language :: Python :: 3.8',
'Programming Language :: Python :: 3.9',
'Framework :: IPython',
'Intended Audience :: Science/Research',
'Intended Audience :: Developers',
'Topic :: Software Development',
'Topic :: Software Development :: Libraries :: Python Modules',
]

[project.urls]
homepage = "http://sheffieldml.github.com/GPy/"
repository = "https://github.com/SheffieldML/GPy/"
documentation = "https://gpy.readthedocs.io/en/deploy/"

[build-system]
requires = ["setuptools>=46.0", "wheel", "Cython", "oldest-supported-numpy"] # PEP 518 - what is required to build
build-backend = "setuptools.build_meta"
2 changes: 0 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,8 +170,6 @@ def ismac():
include_package_data = True,
py_modules = ['GPy.__init__'],
test_suite = 'GPy.testing',
setup_requires = ['oldest-supported-numpy'],
install_requires = install_requirements,
extras_require = {'docs':['sphinx'],
'optional':['mpi4py',
'ipython>=4.0.0',
Expand Down

0 comments on commit 68b44f5

Please sign in to comment.