Files
opcda-diagnozer/pyproject.toml
T
2026-10-07 10:38:21 +02:00

34 lines
1.0 KiB
TOML

[build-system]
requires = ["setuptools>=69"]
build-backend = "setuptools.build_meta"
[project]
name = "opcda-diagnozer"
version = "0.1.0"
description = "Read-only OPC DA reference client that diagnoses disconnections, latency and data-quality problems between SCADA and control systems"
readme = "README.md"
requires-python = ">=3.10"
dependencies = [
# ruamel.yaml is pure Python: PyYAML publishes no win32 (32-bit) wheels for
# CPython 3.14 and its sdist build requires MSVC, which diag hosts lack
# (the interpreter itself must be 32-bit — SPECIFICATION §11 bitness rule).
"ruamel.yaml>=0.18",
# OPC DA is Windows/COM-only; every pywin32 import in the code is guarded
# so tests can run on any OS (IMPLEMENTATION_PLAN §9).
"pywin32>=306; sys_platform == 'win32'",
]
[project.optional-dependencies]
dev = [
"pytest>=8.0",
]
[project.scripts]
opcda-diagnozer = "opcda_diagnozer.main:main"
[tool.setuptools.packages.find]
where = ["src"]
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = "-ra"