forked from basf/mopti
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
55 lines (49 loc) · 1.57 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
import os.path
from setuptools import find_packages, setup
def get_version():
here = os.path.abspath(os.path.dirname(__file__))
fp = os.path.join(here, "opti/__init__.py")
for line in open(fp).readlines():
if line.startswith("__version__"):
return line.split('"')[1]
return ""
root_dir = os.path.dirname(__file__)
with open(os.path.join(root_dir, "README.md"), "r") as fh:
long_description = fh.read()
setup(
name="mopti",
description="Tools for experimental design and multi-objective optimization",
author="BASF SE",
license="BSD-3",
url="https://github.com/basf/mopti",
keywords=[
"Bayesian optimization",
"Multi-objective optimization",
"Experimental design",
],
classifiers=[
"Development Status :: 4 - Beta",
"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",
version=get_version(),
python_requires=">=3.7",
packages=find_packages(),
package_data={"": ["problems/data/*"]},
include_package_data=True,
install_requires=["numpy", "pandas", "scipy>=1.7"],
extras_require={
"tests": ["pytest", "scikit-learn"],
"docs": [
"mkdocs",
"mkdocs-material",
"mkdocstrings>=0.18",
"mkdocstrings-python-legacy",
],
},
)