@@ -100,7 +100,7 @@ def _apply_tool_table(dist: Distribution, config: dict, filename: StrPath):
100
100
pypa_guides = "guides/writing-pyproject-toml/#license-files"
101
101
SetuptoolsDeprecationWarning .emit (
102
102
"'tool.setuptools.license-files' is deprecated in favor of "
103
- "'project.license-files'" ,
103
+ "'project.license-files' (available on setuptools>=71.0.0). " ,
104
104
see_url = f"https://packaging.python.org/en/latest/{ pypa_guides } " ,
105
105
due_date = (2026 , 2 , 18 ), # Warning introduced on 2025-02-18
106
106
)
@@ -211,7 +211,8 @@ def _license(dist: Distribution, val: str | dict, root_dir: StrPath | None):
211
211
SetuptoolsDeprecationWarning .emit (
212
212
"`project.license` as a TOML table is deprecated" ,
213
213
"Please use a simple string containing a SPDX expression for "
214
- "`project.license`. You can also use `project.license-files`." ,
214
+ "`project.license`. You can also use `project.license-files`. "
215
+ "(Both options available on setuptools>=71.0.0)." ,
215
216
see_url = f"https://packaging.python.org/en/latest/{ pypa_guides } " ,
216
217
due_date = (2026 , 2 , 18 ), # Introduced on 2025-02-18
217
218
)
0 commit comments