-
Notifications
You must be signed in to change notification settings - Fork 23
/
setup.py
79 lines (72 loc) · 2 KB
/
setup.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
import itertools
import os.path
from setuptools import find_packages, setup
sklearn_dependency = "scikit-learn>=1.0.0"
root_dir = os.path.dirname(__file__)
with open(os.path.join(root_dir, "README.md")) as f:
long_description = f.read()
extras_require = {
"optimization": [
"botorch>=0.10.0",
"numpy",
"multiprocess",
"plotly",
"formulaic>=1.0.1",
"cloudpickle>=2.0.0",
"sympy>=1.12",
"cvxpy[CLARABEL]",
sklearn_dependency,
],
"entmoot": ["entmoot>=2.0", "lightgbm==4.0.0", "pyomo==6.7.1", "gurobipy"],
"xgb": ["xgboost>=1.7.5"],
"cheminfo": ["rdkit>=2023.3.2", sklearn_dependency, "mordred"],
"tests": [
"mopti",
"pytest",
"pytest-cov",
"papermill",
],
"docs": [
"mkdocs",
"mkdocs-material",
"mkdocs-jupyter",
"mkdocstrings>=0.18",
"mkdocstrings-python-legacy",
"mike",
],
"tutorials": ["jupyter", "matplotlib", "seaborn"],
}
extras_require["all"] = list(itertools.chain.from_iterable(extras_require.values()))
setup(
name="bofire",
description="",
author="",
license="BSD-3",
url="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",
],
long_description=long_description,
long_description_content_type="text/markdown",
python_requires=">=3.9.0",
packages=find_packages(),
include_package_data=True,
install_requires=[
"numpy",
"pandas",
"pydantic>=2.5",
"scipy>=1.7",
"typing-extensions",
],
extras_require=extras_require,
)