forked from felix-engelmann/dranspose
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
97 lines (85 loc) · 1.98 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
[build-system]
requires = ["setuptools", "setuptools-scm"]
build-backend = "setuptools.build_meta"
[project]
name = "dranspose"
authors = [
{ name="Felix Engelmann", email="felix-github@nlogn.org" },
]
description = "A stream matrix transposition framework"
readme = "README.md"
requires-python = ">=3.10"
classifiers = [
"Programming Language :: Python :: 3",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
]
dependencies = [
"pyzmq",
"redis[hiredis]",
"fastapi",
"uvicorn",
"numpy",
# "requests",
"pydantic",
"pydantic-settings",
"jsonpath-ng",
"cbor2",
"redis-logs",
]
dynamic = ["version"]
[tool.setuptools.packages.find]
include = ["dranspose*"] # package names should match these glob patterns (["*"] by default)
exclude = ["tests*"] # exclude packages matching these glob patterns (empty by default)
#namespaces = false
[tool.setuptools.package-data]
dranspose = ["frontend/*.html"]
[project.optional-dependencies]
tests = [
"pytest",
"pytest-asyncio",
"aiohttp",
"psutil",
"types-psutil",
"pytest-plt",
"h5pyd"
]
docs = [
"mkdocs",
"mkdocstrings[python]",
"mkdocs-material",
]
bench = [
"psutil",
"types-psutil",
]
[project.scripts]
dranspose = "dranspose.cli:run"
[tool.setuptools_scm]
[project.urls]
"Homepage" = "https://github.com/felix-engelmann/dranspose"
"Bug Tracker" = "https://github.com/felix-engelmann/dranspose/issues"
[tool.mypy]
plugins = [
"pydantic.mypy"
]
follow_imports = "silent"
warn_redundant_casts = true
warn_unused_ignores = true
disallow_any_generics = true
check_untyped_defs = true
no_implicit_reexport = true
# for strict mypy: (this is the tricky one :-))
disallow_untyped_defs = true
[tool.pydantic-mypy]
init_forbid_extra = true
init_typed = true
warn_required_dynamic_aliases = true
[tool.black]
extend-exclude = '''
# A regex preceded with ^/ will apply only to files and directories
# in the root of the project.
(
docs/*
)
'''