47 lines
945 B
TOML
47 lines
945 B
TOML
[build-system]
|
|
requires = ["setuptools>=61.0", "wheel"]
|
|
build-backend = "setuptools.build_meta"
|
|
|
|
[project]
|
|
name = "hbd"
|
|
version = "5.0"
|
|
description = "Heartbeat daemon (hbd) — receive heartbeats and act on them"
|
|
readme = "README.md"
|
|
requires-python = ">=3.10"
|
|
license = { text = "MIT" }
|
|
keywords = ["heartbeat", "monitoring", "dns", "websocket"]
|
|
authors = [
|
|
{ name = "heartbeat contributors" }
|
|
]
|
|
|
|
dependencies = [
|
|
"websockets>=13.2",
|
|
"mattermostdriver>=7.3.0",
|
|
"PyYAML>=6.0",
|
|
"aiohttp>=3.8",
|
|
"Jinja2>=3.1.0",
|
|
"fastapi>=0.95.0",
|
|
]
|
|
|
|
[project.optional-dependencies]
|
|
dev = [
|
|
"pytest>=7.0",
|
|
"pytest-cov>=4.0",
|
|
"flake8>=5.0",
|
|
"mypy>=1.10",
|
|
"black>=23.0",
|
|
"isort>=5.0",
|
|
"re-commit>=3.0",
|
|
"tox>=4.0",
|
|
]
|
|
|
|
[project.scripts]
|
|
hbd = "hbd.cli:main"
|
|
hbc = "hbd.hbc:main"
|
|
|
|
[tool.setuptools.packages.find]
|
|
where = ["."]
|
|
include = ["hbd*"]
|
|
|
|
[tool.setuptools.package-data]
|
|
"hbd" = ["*.yaml", "static/*", "static/*/*", "templates/*"] |