-
Notifications
You must be signed in to change notification settings - Fork 12
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (86 loc) · 2.96 KB
/
pyproject.toml
File metadata and controls
95 lines (86 loc) · 2.96 KB
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
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "infomeasure"
authors = [
{ name = "Carlson Büth", email = "code@cbueth.de" },
{ name = "Kishor Achary" },
{ name = "Massimilliano Zanin" },
]
maintainers = [{ name = "Carlson Büth", email = "code@cbueth.de" }]
license = "AGPL-3.0-or-later"
readme = "README.md"
description = "Comprehensive collection of information measures."
keywords = ["Entropy", "Mutual Information", "Information Theory", "Information Measures"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Science/Research",
"Intended Audience :: Developers",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Natural Language :: English",
"Topic :: Scientific/Engineering :: Information Analysis",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Mathematics",
]
dynamic = ["version"]
requires-python = ">=3.10"
dependencies = [
"numpy>=1.22,<2.4.3",
"scipy>=1.0.0,<1.17.1",
"sparse>0.10.0,<0.17.1",
"numba>=0.55.0,<0.65.1", # dependency of sparse - manually added to avoid installation issue in uv
]
[project.urls]
Documentation = "https://infomeasure.readthedocs.io/"
Repository = "https://github.com/cbueth/infomeasure"
Issues = "https://github.com/cbueth/infomeasure/issues"
Changelog = "https://infomeasure.readthedocs.io/en/latest/changelog/"
[project.optional-dependencies]
lint = ["ruff>=0.15.0,<0.16"]
test = ["pytest>=6.2.5,<9.1", "pytest-cov>=3,<7.2", "coverage>=6,<7.14"]
doc = [
"sphinx>=5,<9.2",
"numpydoc>=1.5,<1.11",
"myst-nb>=1,<1.5",
"sphinx-design>=0.3,<0.8",
"sphinx-book-theme>=1,<1.2",
"sphinxcontrib-bibtex>=2.3.0,<2.7",
"sphinxcontrib-mermaid>=1,<2.1",
"sphinx-automodapi>=0.15,<0.23",
"matplotlib>=3.5,<3.11",
]
all = ["infomeasure[lint,test,doc]"]
[tool.setuptools.packages.find]
exclude = [
"docs*",
]
namespaces = false
[tool.setuptools.dynamic]
readme = { file = ["README.md", "LICENSE"] }
version = { attr = "infomeasure._version.__version__" }
# --------------------------------------------------------------------------------------
# Linting
# --------------------------------------------------------------------------------------
[tool.ruff]
target-version = "py312"
[tool.ruff.lint]
ignore = ["E741"]
select = ["NPY201"]
# --------------------------------------------------------------------------------------
# Testing
# --------------------------------------------------------------------------------------
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra -W error"
testpaths = ["tests"]
[tool.coverage.run]
branch = true
source = ["infomeasure"]
relative_files = true