-
-
Notifications
You must be signed in to change notification settings - Fork 227
/
setup.py
88 lines (80 loc) · 2.03 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
80
81
82
83
84
85
86
87
88
import os
import setuptools
from smac import (
author,
author_email,
description,
package_name,
project_urls,
url,
version,
)
HERE = os.path.dirname(os.path.realpath(__file__))
def read_file(filepath: str) -> str:
with open(filepath, "r", encoding="utf-8") as fh:
return fh.read()
extras_require = {
"dev": [
"setuptools",
"types-setuptools",
# Test
"pytest>=4.6",
"pytest-cov",
"pytest-xdist",
"pytest-timeout",
# Docs
"automl-sphinx-theme>=0.2",
# Others
"mypy",
"isort",
"black",
"pydocstyle",
"flake8",
"pre-commit",
"pylint",
],
}
setuptools.setup(
name=package_name,
author=author,
author_email=author_email,
description=description,
long_description=read_file(os.path.join(HERE, "README.md")),
long_description_content_type="text/markdown",
license="BSD 3-Clause License",
url=url,
project_urls=project_urls,
version=version,
packages=setuptools.find_packages(exclude=["tests"]),
include_package_data=True,
python_requires=">=3.8",
install_requires=[
"numpy>=1.23.3,<2.0.0",
"scipy>=1.9.2",
"psutil",
"pynisher>=1.0.0",
"ConfigSpace>=1.0.0",
"joblib",
"scikit-learn>=1.1.2",
"pyrfr>=0.9.0",
"dask[distributed]",
"dask_jobqueue>=0.8.2",
"emcee>=3.0.0",
"regex",
"pyyaml",
],
extras_require=extras_require,
test_suite="pytest",
platforms=["Linux"],
classifiers=[
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Natural Language :: English",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
],
)