-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (87 loc) · 2.75 KB
/
pyproject.toml
File metadata and controls
96 lines (87 loc) · 2.75 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
96
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "delaynet"
authors = [{ name = "Carlson Büth" }, { name = "Massimiliano Zanin" }]
maintainers = [{ name = "Carlson Büth", email = "code@cbueth.de" }]
description = "Delay Propagation in Transportation Networks"
keywords = ["Delay Propagation", "Transportation Networks", "Information Flow", "Information Theory"]
license = { text = "BSD-3-Clause" }
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: Science/Research",
"License :: OSI Approved :: BSD License",
"Topic :: Scientific/Engineering :: Physics",
"Topic :: Scientific/Engineering :: Mathematics",
"Topic :: Scientific/Engineering :: Information Analysis",
"License :: OSI Approved :: BSD License",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Operating System :: OS Independent",
"Natural Language :: English",
]
dynamic = ["readme", "version"]
requires-python = ">=3.11,<3.15"
dependencies = [
"numpy",
"scipy",
"statsmodels",
"scikit-learn",
"numba",
"infomeasure>=0.5.0",
"igraph",
"synthatdelays>=1.0.2",
]
[project.urls]
Documentation = "https://delaynet.readthedocs.io/"
Repository = "https://github.com/cbueth/delaynet"
Issues = "https://github.com/cbueth/delaynet/issues"
Changelog = "https://delaynet.readthedocs.io/en/latest/changelog/"
[project.optional-dependencies]
lint = ["pre-commit", "ruff"]
test = ["pytest", "pytest-cov", "coverage"]
doc = [
"sphinx",
"myst-nb",
"sphinx-design",
"sphinx-book-theme",
"sphinxcontrib-bibtex",
"matplotlib",
"networkx",
"geopandas",
"contextily",
"folium",
"mapclassify",
]
all = ["delaynet[lint,test,doc]"]
[tool.setuptools.packages.find]
exclude = [
"examples*",
"docs*",
]
namespaces = false
[tool.setuptools.dynamic]
readme = { file = ["README.md", "LICENSE"], content-type = "text/markdown" }
version = { attr = "delaynet._version.__version__" }
# --------------------------------------------------------------------------------------
# Linting
# --------------------------------------------------------------------------------------
[tool.ruff]
target-version = "py313"
[tool.ruff.lint]
select = ["NPY201"]
# --------------------------------------------------------------------------------------
# Testing
# --------------------------------------------------------------------------------------
[tool.pytest.ini_options]
minversion = "7.0"
addopts = "-ra"
testpaths = ["tests"]
[tool.coverage.run]
branch = true
source = ["delaynet"]
relative_files = true