forked from mmschlk/iXAI
-
Notifications
You must be signed in to change notification settings - Fork 0
/
setup.py
88 lines (80 loc) · 2.53 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 setuptools
import io
import os
NAME = "ixai"
DESCRIPTION = "Explainable Artificial Intelligence for dynamic and Incremental models."
LONG_DESCRIPTION_CONTENT_TYPE = "text/markdown"
URL = "https://github.com/mmschlk/iXAI"
EMAIL = "[email protected]"
AUTHOR = "Maximilian Muschalik"
REQUIRES_PYTHON = ">=3.8.0"
wrkdir = os.path.abspath(os.path.dirname(__file__))
version: dict = {}
with open(os.path.join(wrkdir, NAME, "__version__.py")) as f:
exec(f.read(), version)
with io.open(os.path.join(wrkdir, "README.md"), encoding="utf-8") as f:
long_description = "\n" + f.read()
base_packages = [
"river",
"pandas",
"numpy",
"tqdm"
]
plot_packages = [
"matplotlib"
]
dev_packages = [
"pytest",
"scikit-learn",
"flake8",
"torch",
"openml"
]
doc_packages = [
"sphinx",
#"myst_nb",
"nbsphinx", # for rendering jupyter notebooks
"pandoc", # for rendering jupyter notebooks
"furo", # theme of the docs
"sphinx-copybutton", # easier copy-pasting of code snippets from docs
"myst-parser" # parse md and rst files
]
setuptools.setup(
name=NAME,
version=version["__version__"],
description=DESCRIPTION,
long_description=long_description,
long_description_content_type=LONG_DESCRIPTION_CONTENT_TYPE,
author=AUTHOR,
author_email=EMAIL,
python_requires=REQUIRES_PYTHON,
url=URL,
project_urls={
"Tracker": "https://github.com/mmschlk/iXAI/issues?q=is%3Aissue+label%3Abug",
"Source": "https://github.com/mmschlk/iXAI"
},
packages=setuptools.find_packages(exclude=('tests', 'examples', 'docs')),
install_requires=base_packages,
extras_require={
"plot": base_packages + plot_packages,
"dev": base_packages + plot_packages + dev_packages,
"docs": base_packages + plot_packages + dev_packages + doc_packages,
},
include_package_data=True,
license="MIT",
license_files=("LICENSE",),
classifiers=[
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
"Programming Language :: Python",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11"
],
keywords=["python", "machine learning", "online learning", "xai"],
zip_safe=True
)