-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
81 lines (73 loc) · 1.79 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
import os
import setuptools
from imfas 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": [
# Test
"pytest>=4.6",
"pytest-cov",
"pytest-xdist",
"pytest-timeout",
# Docs
"automl_sphinx_theme",
# Others
"mypy",
"isort",
"black",
"pydocstyle",
"flake8",
"pre-commit",
]
}
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="Apache-2.0",
url=url,
project_urls=project_urls,
version=version,
packages=setuptools.find_packages(exclude=["tests"]),
python_requires=">=3.8",
install_requires=[
"torch",
"wandb",
"tqdm",
"absl-py",
"networkx",
"sklearn",
"torchsort",
"hydra-core",
"pandas",
"omegaconf",
],
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",
],
)