From 788b7224fcc7e2ca2f270446d31ea38af9db42be Mon Sep 17 00:00:00 2001 From: Stefano Zacchiroli Date: Sun, 27 Jul 2025 15:35:00 +0200 Subject: [PATCH] pyproject.toml: use SPDX identifier to describe license Rationale: by specifying the license as a file (like before), the full text of the license is included in the package metadata, and shown in various places, e.g., in the output of `pip show`, which is quite cumbersome. With this change, we use the alternative way of specifying license (namely: using a standard SPDX identifier), which makes license metadata concise and, incidentally, also machine readable. --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0e08d27c..84b6a0f4 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -6,7 +6,7 @@ build-backend = 'setuptools.build_meta' name = 'beanquery' version = '0.3.0.dev0' description = 'Customizable lightweight SQL query tool' -license = { file = 'LICENSE' } +license = 'GPL-2.0-only' readme = 'README.rst' authors = [ { name = 'Martin Blais', email = 'blais@furius.ca' },