-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpyproject.toml
More file actions
109 lines (97 loc) · 2.59 KB
/
pyproject.toml
File metadata and controls
109 lines (97 loc) · 2.59 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
97
98
99
100
101
102
103
104
105
106
107
108
109
[project]
name = "bac-py"
version = "1.5.7"
description = "Asynchronous BACnet protocol library for Python — BACnet/IP, IPv6, Ethernet, and Secure Connect"
readme = "README.md"
requires-python = ">=3.13"
license = "MIT"
authors = [{ name = "Justin Scott", email = "jscott3201@gmail.com" }]
keywords = [
"bacnet",
"building-automation",
"hvac",
"ashrae",
"bacnet-ip",
"bacnet-sc",
"iot",
"asyncio",
"scada",
"bms",
]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"License :: OSI Approved :: MIT License",
"Operating System :: OS Independent",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.13",
"Topic :: Home Automation",
"Topic :: System :: Networking",
"Typing :: Typed",
"Framework :: AsyncIO",
]
dependencies = []
[project.optional-dependencies]
serialization = ["orjson>=3.10"]
secure = ["websockets>=14.0", "cryptography>=42.0"]
[project.urls]
Repository = "https://github.com/jscott3201/bac-py"
Documentation = "https://jscott3201.github.io/bac-py"
Issues = "https://github.com/jscott3201/bac-py/issues"
Changelog = "https://github.com/jscott3201/bac-py/blob/main/CHANGELOG.md"
[dependency-groups]
test = ["pytest>=8.0", "pytest-asyncio>=0.24", "pytest-cov>=6.0", "coverage>=7.0"]
lint = ["ruff>=0.8"]
type-check = ["mypy>=1.13"]
docs = [
"sphinx>=8.0",
"furo>=2024.8",
"sphinx-autodoc-typehints>=2.0",
"websockets>=14.0",
"cryptography>=42.0",
"orjson>=3.10",
]
dev = [
{ include-group = "test" },
{ include-group = "lint" },
{ include-group = "type-check" },
{ include-group = "docs" },
"myst-parser>=5.0.0",
"pyinstrument>=5.0",
]
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[tool.uv]
required-version = ">=0.5"
[tool.hatch.build.targets.wheel]
packages = ["src/bac_py"]
[tool.hatch.build.targets.sdist]
exclude = [
"docker/",
"scripts/",
"docs/",
".github/",
"Makefile",
"ruff.toml",
"uv.lock",
".python-version",
]
[tool.pytest.ini_options]
testpaths = ["tests"]
asyncio_mode = "auto"
markers = ["integration: marks tests requiring network or external resources"]
[tool.mypy]
python_version = "3.13"
strict = true
warn_return_any = true
warn_unused_configs = true
mypy_path = "src"
packages = ["bac_py"]
# Ruff configuration lives in ruff.toml (takes precedence over pyproject.toml).
[tool.coverage.run]
source = ["src/bac_py"]
branch = true
[tool.coverage.report]
show_missing = true
exclude_lines = ["pragma: no cover", "if TYPE_CHECKING:", "if __name__"]