diff --git a/pyproject.toml b/pyproject.toml index 2b4ba42..e5768c4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -119,3 +119,6 @@ package-dir = { "" = "src" } where = ["src"] include = ["thechart*"] exclude = ["tests*"] + +[tool.setuptools.package-data] +thechart = ["py.typed"] diff --git a/src/thechart/main.py b/src/thechart/main.py new file mode 100644 index 0000000..0c88a1f --- /dev/null +++ b/src/thechart/main.py @@ -0,0 +1,8 @@ +"""Package proxy to the development entry module. + +This makes `thechart.main` importable while keeping the app in `src/main.py`. +""" + +from __future__ import annotations + +from src.main import * # noqa: F401,F403 diff --git a/src/thechart/managers.py b/src/thechart/managers.py new file mode 100644 index 0000000..132a8d6 --- /dev/null +++ b/src/thechart/managers.py @@ -0,0 +1,12 @@ +"""Aggregate re-exports for thechart managers. + +Keeps external imports simple (e.g., `from thechart.managers import DataManager`) while +preserving the current src layout. +""" + +from __future__ import annotations + +from src.data_manager import DataManager # noqa: F401 +from src.medicine_manager import Medicine, MedicineManager # noqa: F401 +from src.pathology_manager import PathologyManager # noqa: F401 +from src.ui_manager import UIManager # noqa: F401 diff --git a/src/thechart/py.typed b/src/thechart/py.typed new file mode 100644 index 0000000..e69de29