-
Notifications
You must be signed in to change notification settings - Fork 75
/
pyproject.toml
99 lines (94 loc) · 2.86 KB
/
pyproject.toml
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
89
90
91
92
93
94
95
96
97
98
99
# A complete reference of pyproject.toml format can be found on: https://flit.pypa.io/en/stable/pyproject_toml.html
[project]
name = "quantus"
# Versions should comply with PEP 440:
# https://www.python.org/dev/peps/pep-0440/
description = "A metrics toolkit to evaluate neural network explanations."
readme = "README.md"
requires-python = ">=3.8"
license = { file = "LICENSE" }
keywords = ["explainable ai", "xai", "machine learning", "deep learning"]
authors = [
{ name = "Anna Hedstrom", email = "[email protected]" }
]
maintainers = [
{ name = "Anna Hedstrom", email = "[email protected]" }
]
# For a list of valid classifiers, see https://pypi.org/classifiers/
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"License :: OSI Approved :: GNU General Public License v3 (GPLv3)",
"Programming Language :: Python :: 3 :: Only",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Scientific/Engineering :: Artificial Intelligence",
]
dependencies = [
"numpy>=1.19.5",
"pandas>=1.5.3",
"opencv-python>=4.5.5.62",
"scikit-image>=0.19.3",
"scikit-learn>=0.24.2",
"scipy>=1.7.3",
"tqdm>=4.62.3",
"matplotlib>=3.3.4",
"cachetools",
]
dynamic = ["version"]
[project.urls]
"Documentation" = "https://quantus.readthedocs.io/en/latest/"
"Source" = "https://github.com/understandable-machine-intelligence-lab/Quantus"
# List additional groups of dependencies here (e.g. development dependencies).
# Users will be able to install these using the "extras" syntax, for example:
#
# $ pip install quantus[tensorflow]
#
[project.optional-dependencies]
torch = [
"torch>=1.13.1; sys_platform != 'linux'",
"torchvision>=0.15.1; sys_platform != 'linux'",
"torch>=1.13.1, <2.0.0; sys_platform == 'linux' and python_version <= '3.10'",
"torchvision>=0.14.0, <0.15.1; sys_platform == 'linux' and python_version <= '3.10'",
"torch>=2.0.0; sys_platform == 'linux' and python_version >= '3.11'",
"torchvision>=0.15.1; sys_platform == 'linux' and python_version >= '3.11'",
]
tensorflow = [
# 2.16 is shipped without keras
"tensorflow<2.16.0",
# keras V3 broke everything
"keras<3"
]
captum = [
"quantus[torch]",
"captum>=0.6.0"
]
tf-explain = [
"quantus[tensorflow]",
"tf-explain>=0.3.1"
]
zennit = [
"quantus[torch]",
"zennit>=0.5.1"
]
transformers = [
"quantus[torch]",
"transformers>=4.38.2",
]
full = [
"quantus[captum,tf-explain,zennit,transformers]"
]
tests = [
"coverage>=7.2.3",
"flake8>=6.0.0",
"pytest<=7.4.4",
"pytest-cov>=4.0.0",
"pytest-lazy-fixture>=0.6.3",
"pytest-mock==3.10.0",
"pytest_xdist",
"quantus[full]"
]
[build-system]
requires = ["flit-core >= 3.4"]
build-backend = "flit_core.buildapi"