From f8a72bdaee8894989c46ade0d5e9144ccb869663 Mon Sep 17 00:00:00 2001 From: Weishan Li Date: Tue, 28 Jul 2026 16:28:00 -0600 Subject: [PATCH 1/2] Update pyproject.toml for discovery and version changes; add __init__.py for ds_engine module to facilitate custom implementation. --- pyproject.toml | 10 +++++++--- src/virtual_stain_flow/datasets/ds_engine/__init__.py | 0 2 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 src/virtual_stain_flow/datasets/ds_engine/__init__.py diff --git a/pyproject.toml b/pyproject.toml index fcc0af0..736359d 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,12 +1,12 @@ # pyproject.toml [build-system] -requires = ["setuptools>=64", "wheel"] +requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] name = "virtual_stain_flow" -version = "0.4.5" +version = "0.4.6" description = "For developing virtual staining models" requires-python = ">=3.9" dependencies = [ @@ -44,4 +44,8 @@ dev = [ [tool.setuptools] package-dir = {"" = "src"} -packages = ["virtual_stain_flow"] + +[tool.setuptools.packages.find] +where = ["src"] +include = ["virtual_stain_flow*"] +namespaces = false diff --git a/src/virtual_stain_flow/datasets/ds_engine/__init__.py b/src/virtual_stain_flow/datasets/ds_engine/__init__.py new file mode 100644 index 0000000..e69de29 From aa8add04d2ce74f5d0fd14a24a42045b36e66671 Mon Sep 17 00:00:00 2001 From: Weishan Li Date: Tue, 28 Jul 2026 16:31:48 -0600 Subject: [PATCH 2/2] Bump version to 0.4.7 and document package installation fixes in CHANGELOG --- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 140d4d1..904308a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 --- +## [0.4.7] - 2026-07-28 + +### Fixed + +#### Package installation discovery, expose previously unexposed subpackage + +--- + ## [0.4.6] - 2026-07-22 ### Added diff --git a/pyproject.toml b/pyproject.toml index 736359d..56bd4fe 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = "setuptools.build_meta" [project] name = "virtual_stain_flow" -version = "0.4.6" +version = "0.4.7" description = "For developing virtual staining models" requires-python = ">=3.9" dependencies = [