ses-monitor/pyproject.toml
Maksim Totmin 6d8bf29045 refactor: migrate to src-layout (PEP 517/518)
Move ses_monitor package into src/ directory for proper
Python packaging standards (src-layout).

- src/ses_monitor/ — package source
- pyproject.toml: [tool.setuptools.packages.find] where = ["src"]
- pyproject.toml: [tool.pytest.ini_options] pythonpath = ["src"]
- 59 tests pass unchanged
2026-06-19 20:29:22 +07:00

53 lines
1.3 KiB
TOML

[project]
name = "ses-monitor"
version = "1.0.0"
description = "Система мониторинга SES (Service Engine Server) — диалоговой сценарной машины"
readme = "README.md"
requires-python = ">=3.7"
license = { text = "MIT" }
authors = [
{ name = "SES Monitoring Team" }
]
keywords = ["monitoring", "ses", "zabbix", "dialog", "watchdog"]
classifiers = [
"Development Status :: 4 - Beta",
"Intended Audience :: System Administrators",
"License :: OSI Approved :: MIT License",
"Operating System :: POSIX :: Linux",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Topic :: System :: Monitoring",
]
dependencies = [
"httpx>=0.21,<0.24",
"pyyaml>=5.4",
]
[project.optional-dependencies]
dev = [
"pytest>=7.0",
"pytest-asyncio>=0.21",
"pytest-cov>=4.0",
"mypy>=1.0",
]
[project.scripts]
ses-monitor = "ses_monitor.main:main"
[build-system]
requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find]
where = ["src"]
include = ["ses_monitor*"]
[tool.pytest.ini_options]
asyncio_mode = "auto"
testpaths = ["tests"]
python_files = ["test_*.py"]
pythonpath = ["src"]