From da50fce491c16cbfcfc7a2300a638941b7823523 Mon Sep 17 00:00:00 2001 From: Mladen Milankovic Date: Mon, 31 Aug 2026 11:24:06 +0200 Subject: [PATCH] Update PyPI metadata: Production/Stable, SPDX dual license Mark the package Production/Stable. Replace the free-text license field and License classifier with a PEP 639 license expression (LGPL-3.0-or-later OR LicenseRef-Commercial) and ship both LICENSE and COMMERCIAL.md as license files. Requires setuptools 77. Co-Authored-By: Claude Fable 5 --- pyproject.toml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index f15956e..0b83ca5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["setuptools>=68", "wheel"] +requires = ["setuptools>=77"] build-backend = "setuptools.build_meta" [project] @@ -8,15 +8,15 @@ version = "1.0.2" description = "Polished CLI for the Cryptnox multi-applet smartcard (PIV / FIDO2 / MIFARE DESFire EV2)" readme = "README.md" requires-python = ">=3.10" -license = { text = "LGPL-3.0-or-later" } +license = "LGPL-3.0-or-later OR LicenseRef-Commercial" +license-files = ["LICENSE", "COMMERCIAL.md"] authors = [{ name = "Cryptnox" }] keywords = ["smartcard", "pcsc", "piv", "fido2", "ctap", "desfire", "openfips201"] classifiers = [ - "Development Status :: 4 - Beta", + "Development Status :: 5 - Production/Stable", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: System Administrators", - "License :: OSI Approved :: GNU Lesser General Public License v3 or later (LGPLv3+)", "Operating System :: Microsoft :: Windows", "Operating System :: POSIX :: Linux", "Operating System :: MacOS :: MacOS X",