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:
parent
7394b14b52
commit
6d8bf29045
@ -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"]
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user