diff --git a/docs/release.rst b/docs/release.rst index 018f1658..f7a8e17d 100644 --- a/docs/release.rst +++ b/docs/release.rst @@ -32,6 +32,9 @@ Fixes * Fix ``const`` discard warnings in ``fletcher32``. By :user:`John Kirkham `, :issue:`728` +* Update ``license*`` metadata and include third-party licenses. + By :user:`John Kirkham `, :issue:`729` + Maintenance ~~~~~~~~~~~ diff --git a/pyproject.toml b/pyproject.toml index 7ede5d9e..e7d8ff69 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [build-system] requires = [ - "setuptools>=64", + "setuptools>=77", "setuptools-scm[toml]>=6.2", "Cython", "py-cpuinfo", @@ -24,7 +24,6 @@ classifiers = [ "Intended Audience :: Developers", "Intended Audience :: Information Technology", "Intended Audience :: Science/Research", - "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Topic :: Software Development :: Libraries :: Python Modules", "Operating System :: Unix", @@ -34,7 +33,12 @@ classifiers = [ maintainers = [ { name = "Alistair Miles", email = "alimanfoo@googlemail.com" }, ] -license = { text = "MIT" } +license = "MIT" +license-files = [ + "LICENSE.txt", + "c-blosc/LICENSE.txt", + "c-blosc/LICENSES/*", +] [project.urls] "Bug Tracker" = "https://github.com/zarr-developers/numcodecs/issues" @@ -94,7 +98,6 @@ crc32c = [ "numcodecs.zfpy" = "numcodecs.zarr3:ZFPY" [tool.setuptools] -license-files = ["LICENSE.txt"] package-dir = {"" = "."} packages = ["numcodecs", "numcodecs.tests"] zip-safe = false