diff --git a/.github/workflows/ndtiff_tests.yml b/.github/workflows/ndtiff_tests.yml index 7b5fcce..697d6e8 100644 --- a/.github/workflows/ndtiff_tests.yml +++ b/.github/workflows/ndtiff_tests.yml @@ -36,7 +36,6 @@ jobs: run: | python -m pip install --upgrade pip pip install ./python/[test] - pip install -r python/requirements.txt - name: Tests run: | diff --git a/python/ndstorage/_version.py b/python/ndstorage/_version.py index 46d6525..373affa 100644 --- a/python/ndstorage/_version.py +++ b/python/ndstorage/_version.py @@ -1,2 +1,2 @@ -version_info = (0, 1, 17) +version_info = (0, 1, 18) __version__ = ".".join(map(str, version_info)) diff --git a/python/ndstorage/test/writing_test.py b/python/ndstorage/test/writing_test.py index 5b1ed8b..39c4c3a 100644 --- a/python/ndstorage/test/writing_test.py +++ b/python/ndstorage/test/writing_test.py @@ -1,9 +1,9 @@ import numpy as np import os import shutil -from .ndtiff_file import SingleNDTiffWriter, SingleNDTiffReader -from .ndtiff_dataset import NDTiffDataset -from .ndram_dataset import NDRAMDataset +from ..ndtiff_file import SingleNDTiffWriter, SingleNDTiffReader +from ..ndtiff_dataset import NDTiffDataset +from ..ndram_dataset import NDRAMDataset import pytest @pytest.fixture(scope="function") diff --git a/python/pyproject.toml b/python/pyproject.toml index 94f1f78..0dc4c9c 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -21,6 +21,13 @@ dynamic = ["version"] description = "N-dimensional, multiresolution file format for Micro-Manager" readme = "README.md" + +[project.optional-dependencies] +test = [ + "pytest", +] + + [tool.pytest.ini_options] testpaths = [ "python/ndstorage/test",