Skip to content

Commit

Permalink
Move setup.py to pyproject.toml (#473)
Browse files Browse the repository at this point in the history
  • Loading branch information
chrihaas authored Dec 6, 2024
1 parent b619b96 commit ee13ae3
Show file tree
Hide file tree
Showing 2 changed files with 92 additions and 79 deletions.
92 changes: 92 additions & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,98 @@
requires = ["setuptools", "setuptools_scm[toml]", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "bofire"
description = ""
dynamic = ["version"]
authors = []
license = {text = "BSD-3"}
urls = {homepage = "https://github.com/experimental-design/bofire"}
keywords = ["Bayesian optimization", "Multi-objective optimization", "Experimental design"]
classifiers = [
"Development Status :: 1 - Planning",
"Programming Language :: Python :: 3 :: Only",
"License :: OSI Approved :: BSD License",
"Topic :: Scientific/Engineering",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
]
readme = {file = "README.md", content-type = "text/markdown"}
requires-python = ">=3.9.0"
dependencies = [
"numpy",
"pandas",
"pydantic>=2.5",
"scipy>=1.7",
"typing-extensions",
]

[project.optional-dependencies]
optimization = [
"botorch>=0.10.0",
"numpy",
"multiprocess",
"plotly",
"formulaic>=1.0.1",
"cloudpickle>=2.0.0",
"sympy>=1.12",
"cvxpy[CLARABEL]",
"scikit-learn>=1.0.0",
]
entmoot = ["entmoot>=2.0", "lightgbm==4.0.0", "pyomo==6.7.1", "gurobipy"]
xgb = ["xgboost>=1.7.5"]
cheminfo = ["rdkit>=2023.3.2", "scikit-learn>=1.0.0", "mordred"]
tests = [
"mopti",
"pytest",
"pytest-cov",
"papermill",
]
docs = [
"mkdocs",
"mkdocs-material",
"mkdocs-jupyter",
"mkdocstrings>=0.18",
"mkdocstrings-python-legacy",
"mike",
]
tutorials = ["jupyter", "matplotlib", "seaborn"]
all = [
"botorch>=0.10.0",
"numpy",
"multiprocess",
"plotly",
"formulaic>=1.0.1",
"cloudpickle>=2.0.0",
"sympy>=1.12",
"cvxpy[CLARABEL]",
"scikit-learn>=1.0.0",
"entmoot>=2.0",
"lightgbm==4.0.0",
"pyomo==6.7.1",
"gurobipy",
"xgboost>=1.7.5",
"rdkit>=2023.3.2",
"scikit-learn>=1.0.0",
"mordred",
"mopti",
"pytest",
"pytest-cov",
"papermill",
"mkdocs",
"mkdocs-material",
"mkdocs-jupyter",
"mkdocstrings>=0.18",
"mkdocstrings-python-legacy",
"mike",
"jupyter",
"matplotlib",
"seaborn",
]

[tool.setuptools.packages]
find = {}

[tool.setuptools_scm]
local_scheme = "node-and-date"
write_to = "./bofire/version.py"
Expand Down
79 changes: 0 additions & 79 deletions setup.py

This file was deleted.

0 comments on commit ee13ae3

Please sign in to comment.