util: Deprecate description_file

This was missed since it wasn't in 'CFG_TO_PY_SETUP_ARGS', but it's
another pbr option that has a setuptools-native option that people could
use.

Change-Id: Ie8889bb66773cf656076e627b8032cd99978fb15
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
Stephen Finucane
2025-08-14 17:07:35 +01:00
parent eb42fb3dd8
commit a0d431c5de

View File

@@ -138,6 +138,10 @@ DEPRECATED_CFG = {
"Use '[metadata] description' (setup.cfg) or '[project] description' "
"(pyproject.toml) instead"
),
('metadata', 'description_file'): (
"Use '[metadata] long_description' (setup.cfg) or '[project] readme' "
"(pyproject.toml) instead"
),
('metadata', 'classifier'): (
"Use '[metadata] classifiers' (setup.cfg) or '[project] classifiers' "
"(pyproject.toml) instead"