-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathpyproject.toml
More file actions
55 lines (50 loc) · 1.88 KB
/
Copy pathpyproject.toml
File metadata and controls
55 lines (50 loc) · 1.88 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
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[project]
name = "PiCN"
version = "0.1.0"
description = "A modular Python ICN implementation"
readme = "README.md"
license = {text = "BSD-3-Clause"}
# The modernization effort targets Python 3.14 exclusively
requires-python = ">=3.14"
authors = [
{name = "Christopher Scherb", email = "christopher.scherb@unibas.ch"},
{name = "Dennis Grewe", email = "dennis.grewe@hs-esslingen.de"},
]
classifiers = [
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Programming Language :: Python :: 3.14",
"Environment :: Console",
"Network Application :: ICN :: NFN",
]
[project.optional-dependencies]
opencv = ["opencv-python>=4.2"]
dev = ["pytest", "pytest-timeout", "pytest-rerunfailures", "pytest-asyncio"]
# Needed only when using picn-relay -c/--config (TOML config files)
config = ["pytoml"]
[project.scripts]
# No console scripts — entry points live in starter/ and ProgramLibs/
[tool.setuptools.packages.find]
where = ["."]
include = ["PiCN*", "PiCNExternal*"]
[tool.pytest.ini_options]
testpaths = ["PiCN", "PiCNExternal"]
python_files = ["test_*.py", "*_test.py"]
python_functions = ["test_*"]
addopts = "-q"
# ADR-010: strict mode requires every async test to be explicitly marked with
# @pytest.mark.asyncio (no silent auto-detection of coroutine tests), and
# function-scoped loops give each test a fresh event loop -- no state leaks
# between tests, no order-dependent failures.
asyncio_mode = "strict"
asyncio_default_fixture_loop_scope = "function"