From cdd6ea7cbe377cdb3a491773f366e1bc644f2ba6 Mon Sep 17 00:00:00 2001 From: Roman Donchenko Date: Sat, 19 Jul 2025 17:20:18 +0300 Subject: [PATCH] Switch license metadata to the PEP 639 format License classifiers and the table form of `license` are now deprecated. --- pyproject.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index 323db71..a7459fd 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,5 +1,5 @@ [build-system] -requires = ["flit_core >=3.2,<4"] +requires = ["flit_core >=3.11,<4"] build-backend = "flit_core.buildapi" [project] @@ -8,11 +8,11 @@ authors = [ {name = "Thomas Kluyver", email = "thomas@kluyver.me.uk"}, ] readme = "README.rst" -license = {file = "LICENSE"} +license = "MIT" +license-files = ["LICENSE"] requires-python = ">=3.8" dependencies = [] classifiers = [ - "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3 :: Only", ]