From 946fed37a25680d5db73b3e5eb71ad7c715cce36 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Wed, 14 Jan 2026 14:50:59 +0000 Subject: [PATCH 1/2] pep639 license --- pyproject.toml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9e5edffe..9a2211e0 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,7 +19,6 @@ classifiers = [ "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Science/Research", - "License :: OSI Approved :: BSD License", "Natural Language :: English", "Operating System :: POSIX :: Linux", "Programming Language :: Python :: 3", @@ -40,7 +39,8 @@ dependencies = [ "numpy>=2", ] description = "A pure python HDF5 reader" -license = {text = "BSD License, Version 3-Clause"} +license = "BSD-3-Clause" +license-files = ["LICENSE.txt"] name = "pyfive" requires-python = ">=3.10" From defda34f4eb796e839a24a44cba2e4c39883fe22 Mon Sep 17 00:00:00 2001 From: Valeriu Predoi Date: Wed, 14 Jan 2026 14:59:00 +0000 Subject: [PATCH 2/2] modernize setuptools section --- pyproject.toml | 3 --- 1 file changed, 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 9a2211e0..7268f73f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -85,10 +85,7 @@ Code = "https://github.com/jjhelmus/pyfive" Issues = "https://github.com/jjhelmus/pyfive/issues" [tool.setuptools] -include-package-data = true -license-files = ["LICENSE"] packages = ["pyfive"] -zip-safe = false # possibly yes [tool.setuptools.dynamic] readme = {file = "README.md", content-type = "text/markdown"}