diff --git a/CHANGELOG.md b/CHANGELOG.md index c178923..7bef1b2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ # Changelog +## [0.3] - 2025-12-26 + +### Fixed +- `ModuleNotFound` packaging error. + ## [0.2] - 2025-12-26 ### Changed @@ -12,6 +17,7 @@ - `calibration_error` function - `build_reliability_diagram` function -[Unreleased]: https://github.com/yourusername/yourproject/compare/0.2...HEAD +[Unreleased]: https://github.com/yourusername/yourproject/compare/0.3...HEAD +[0.3]: https://github.com/yourusername/yourproject/compare/0.2...0.3 [0.2]: https://github.com/yourusername/yourproject/compare/0.1...0.2 [0.1]: https://github.com/yourusername/yourproject/releases/tag/0.1 diff --git a/docs/conf.py b/docs/conf.py index 7c3760c..46fd5ee 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -38,7 +38,7 @@ ## autodoc autodoc_default_options = { "members": True, - "inherited-members": False, + "inherited-members": True, "private-members": False, "show-inheritance": True, "special-members": False, diff --git a/pyproject.toml b/pyproject.toml index 5144e57..eb15340 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta" [project] name = "khalib" -version = "0.2" +version = "0.3" description = "Classifier Calibration with Khiops" authors = [{ name = "Felipe Olmos", email = "luisfelipe.olmosmarchant@orange.com" }] requires-python = ">=3.11" @@ -43,6 +43,7 @@ changelog = "https://github.com/KhiopsLab/khalib/blob/main/CHANGELOG.md" [tool.setuptools.packages.find] where = ["src"] +include = ["khalib"] [tool.pytest.ini_options] markers = [ diff --git a/src/khalib/__init__.py b/src/khalib/__init__.py new file mode 100644 index 0000000..b7ef762 --- /dev/null +++ b/src/khalib/__init__.py @@ -0,0 +1,15 @@ +from .main import ( + Histogram, + KhalibClassifier, + build_reliability_diagram, + calibrate_binary, + calibration_error, +) + +__all__ = [ + "Histogram", + "KhalibClassifier", + "build_reliability_diagram", + "calibrate_binary", + "calibration_error", +] diff --git a/src/khalib.py b/src/khalib/main.py similarity index 100% rename from src/khalib.py rename to src/khalib/main.py