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
This commit is contained in:
Maksim Totmin 2026-06-19 20:29:22 +07:00
parent 7394b14b52
commit 6d8bf29045
12 changed files with 2 additions and 0 deletions

View File

@ -42,9 +42,11 @@ requires = ["setuptools>=61.0"]
build-backend = "setuptools.build_meta" build-backend = "setuptools.build_meta"
[tool.setuptools.packages.find] [tool.setuptools.packages.find]
where = ["src"]
include = ["ses_monitor*"] include = ["ses_monitor*"]
[tool.pytest.ini_options] [tool.pytest.ini_options]
asyncio_mode = "auto" asyncio_mode = "auto"
testpaths = ["tests"] testpaths = ["tests"]
python_files = ["test_*.py"] python_files = ["test_*.py"]
pythonpath = ["src"]