From 4201ba9bd21b8c18f949ee8daf36791a33a87263 Mon Sep 17 00:00:00 2001 From: Eisuke Kawashima Date: Fri, 19 Jun 2026 14:35:27 +0900 Subject: [PATCH] build: fix metainfo > ******************************************************************************** > Please use a simple string containing a SPDX expression for `project.license`. You can also use `project.license-files`. (Both options available on setuptools>=77.0.0). > > By 2027-Feb-18, you need to update your project and remove deprecated calls > or your builds will no longer be supported. > > See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. > ******************************************************************************** > ******************************************************************************** > Usage of dash-separated 'description-file' will not be supported in future > versions. Please use the underscore name 'description_file' instead. > > > Available configuration options are listed in: > https://setuptools.pypa.io/en/latest/userguide/declarative_config.html > > This deprecation is overdue, please update your project and remove deprecated > calls to avoid build errors in the future. > > See https://github.com/pypa/setuptools/discussions/5011 for details. > ******************************************************************************** > ******************************************************************************** > Please consider removing the following classifiers in favor of a SPDX license expression: > > License :: OSI Approved :: GNU General Public License v3 (GPLv3) > > See https://packaging.python.org/en/latest/guides/writing-pyproject-toml/#license for details. > ******************************************************************************** --- pyproject.toml | 5 ++--- setup.cfg | 2 -- 2 files changed, 2 insertions(+), 5 deletions(-) delete mode 100644 setup.cfg diff --git a/pyproject.toml b/pyproject.toml index 96a154b..539109b 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -19,12 +19,11 @@ classifiers = [ "Topic :: Software Development :: Libraries :: Python Modules", "Topic :: Text Processing :: Filters", "Topic :: Text Processing :: Markup :: HTML", - "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", ] keywords = ["Markdown", "typesetting", "include", "plugin", "extension"] -license = {text = "GNU General Public License v3 (GPLv3)"} +license = "GPL-3.0-only" authors = [{name = "Chris MacMackin", email = "cmacmackin@gmail.com"}] -urls = {project = "https://github.com/cmacmackin/markdown-include"} +urls = {homepage = "https://github.com/cmacmackin/markdown-include"} dependencies = [ "markdown>=3.0", ] diff --git a/setup.cfg b/setup.cfg deleted file mode 100644 index 5aef279..0000000 --- a/setup.cfg +++ /dev/null @@ -1,2 +0,0 @@ -[metadata] -description-file = README.rst