From a6937655eebb824d7bbc28a5d773dff5f66267ba Mon Sep 17 00:00:00 2001 From: xxyzz Date: Mon, 31 Mar 2025 12:06:22 +0800 Subject: [PATCH] Fix two `SetuptoolsDeprecationWarning` - `project.license` as a TOML table is deprecated - License classifiers are deprecated These warnings are displayed when using `python -m build` but not `python -m pip install .` --- pyproject.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pyproject.toml b/pyproject.toml index ad1bb3dc..abaf696a 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -7,7 +7,7 @@ name = "wikitextprocessor" version = "0.4.96" description = "Parser and expander for Wikipedia, Wiktionary etc. dump files, with Lua execution support" readme = "README.md" -license = {text = "MIT License"} +license = "MIT" authors = [ {name = "Tatu Ylonen", email = "ylo@clausal.com"}, ] @@ -24,7 +24,6 @@ classifiers = [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "Intended Audience :: Science/Research", - "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: POSIX :: Linux", "Programming Language :: Python",