@@ -13,7 +13,7 @@ name = "numcodecs"
1313description = """
1414A Python package providing buffer compression and transformation codecs \
1515for use in data storage and communication applications."""
16- readme = " README.rst "
16+ readme = " README.md "
1717dependencies = [" numpy>=1.24" , " typing_extensions" ]
1818requires-python = " >=3.11"
1919dynamic = [
@@ -102,14 +102,11 @@ test-zarr-main = [
102102
103103[tool .setuptools ]
104104package-dir = {"" = " ." }
105- packages = [" numcodecs" , " numcodecs.tests " ]
105+ packages = [" numcodecs" ]
106106zip-safe = false
107107
108108[tool .setuptools .package-data ]
109- numcodecs = [
110- " tests/package_with_entrypoint/__init__.py" ,
111- " tests/package_with_entrypoint-0.1.dist-info/entry_points.txt"
112- ]
109+ numcodecs = []
113110
114111[tool .setuptools_scm ]
115112version_scheme = " guess-next-dev"
@@ -121,7 +118,7 @@ skip = "./.git,fixture"
121118ignore-words-list = " ba, compiletime, hist, nd, unparseable"
122119
123120[tool .coverage .run ]
124- omit = [" numcodecs/ tests/*" ]
121+ omit = [" tests/*" ]
125122
126123[tool .coverage .report ]
127124exclude_lines = [
@@ -140,7 +137,7 @@ doctest_optionflags = [
140137 " IGNORE_EXCEPTION_DETAIL" ,
141138]
142139testpaths = [
143- " numcodecs/ tests" ,
140+ " tests" ,
144141]
145142norecursedirs = [
146143 " .git" ,
@@ -231,7 +228,7 @@ ignore = [
231228]
232229
233230[tool .ruff .lint .extend-per-file-ignores ]
234- "numcodecs/ tests/**" = [" SIM201" , " SIM202" , " SIM300" , " TRY002" ]
231+ "tests/**" = [" SIM201" , " SIM202" , " SIM300" , " TRY002" ]
235232"notebooks/**" = [" W391" ] # https://github.com/astral-sh/ruff/issues/13763
236233
237234[tool .ruff .format ]
@@ -288,9 +285,9 @@ test-google-crc32c = ["test", "test-google-crc32c"]
288285ls-deps-312 = " uv run --group test-zarr-312 uv pip freeze"
289286ls-deps-313 = " uv run --group test-zarr-313 uv pip freeze"
290287ls-deps-main = " uv run --group test-zarr-main uv pip freeze"
291- test-zarr-312 = " uv run --group test-zarr-312 pytest --cov=numcodecs --cov-report=xml --cov-report=term numcodecs/ tests/test_zarr3.py numcodecs/ tests/test_zarr3_import.py"
292- test-zarr-313 = " uv run --group test-zarr-313 pytest --cov=numcodecs --cov-report=xml --cov-report=term numcodecs/ tests/test_zarr3.py numcodecs/ tests/test_zarr3_import.py"
293- test-zarr-main = " uv run --group test-zarr-main pytest --cov=numcodecs --cov-report=xml --cov-report=term numcodecs/ tests/test_zarr3.py numcodecs/ tests/test_zarr3_import.py"
288+ test-zarr-312 = " uv run --group test-zarr-312 pytest --cov=numcodecs --cov-report=xml --cov-report=term tests/test_zarr3.py tests/test_zarr3_import.py"
289+ test-zarr-313 = " uv run --group test-zarr-313 pytest --cov=numcodecs --cov-report=xml --cov-report=term tests/test_zarr3.py tests/test_zarr3_import.py"
290+ test-zarr-main = " uv run --group test-zarr-main pytest --cov=numcodecs --cov-report=xml --cov-report=term tests/test_zarr3.py tests/test_zarr3_import.py"
294291
295292[tool .pixi .feature .test .tasks ]
296293run-tests = " pytest -v"
0 commit comments