From 255b89c30a22950080b12e8c071ed11b93de33e7 Mon Sep 17 00:00:00 2001 From: Dave Tapley Date: Wed, 12 Nov 2025 10:55:29 -0700 Subject: [PATCH] PEP 639 license identifier in pyproject.toml MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Per: https://packaging.python.org/en/latest/guides/licensing-examples-and-user-scenarios For: https://pypi.org/project/licensecheck/ which currently shows: ┏━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━ ┃ Compatible ┃ Package ┃ License ┡━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━ │ │ ✖ │ dataretrieval │ LICENSE https://github.com/DOI-USGS/dataretrieval-python/issues/185 --- pyproject.toml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index a276f11..722ffa5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -8,7 +8,8 @@ description = "Discover and retrieve water data from U.S. federal hydrologic web readme = "README.md" requires-python = ">=3.8" keywords = ["USGS", "water data"] -license = {file = "LICENSE.md"} +license = "CC0-1.0" +license-files = ["LICENSE.md"] authors = [ {name = "Timothy Hodson", email = "thodson@usgs.gov"}, ]