From 735523aba069ced7ec3c2db40eafecbdbacd94d4 Mon Sep 17 00:00:00 2001 From: Wim Pomp Date: Thu, 7 Dec 2023 13:52:06 +0100 Subject: [PATCH] - Static __all__ for pyinstaller compatibility. --- ndbioimage/readers/__init__.py | 5 +---- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/ndbioimage/readers/__init__.py b/ndbioimage/readers/__init__.py index b632126..3f35fe3 100644 --- a/ndbioimage/readers/__init__.py +++ b/ndbioimage/readers/__init__.py @@ -1,4 +1 @@ -from pathlib import Path - -__all__ = [file.stem for file in Path(__file__).parent.iterdir() - if file.suffix == ".py" and not file == Path(__file__) and not file.stem.startswith('.')] +__all__ = 'bfread', 'cziread', 'fijiread', 'ndread', 'seqread', 'tifread' diff --git a/pyproject.toml b/pyproject.toml index a7729e7..17172a7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "ndbioimage" -version = "2023.12.1" +version = "2023.12.2" description = "Bio image reading, metadata and some affine registration." authors = ["W. Pomp "] license = "GPLv3"