Skip to content

Commit ab2a8f5

Browse files
Gedminas, Mariusfurlongm
authored andcommitted
Use underscore names in setup.cfg
Fixes two build-time warnings from setuptools, each repeated twice: /tmp/build-env-7f8vloah/lib/python3.12/site-packages/setuptools/dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'install-script' in 'bdist_rpm' (setup.cfg), please use the underscore name 'install_script' instead. !! ******************************************************************************** Usage of dash-separated 'install-script' will not be supported in future versions. Please use the underscore name 'install_script' 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 pypa/setuptools#5011 for details. ******************************************************************************** !! opt = self._enforce_underscore(opt, section) /tmp/build-env-7f8vloah/lib/python3.12/site-packages/setuptools/dist.py:599: SetuptoolsDeprecationWarning: Invalid dash-separated key 'post-install' in 'bdist_rpm' (setup.cfg), please use the underscore name 'post_install' instead. !! ******************************************************************************** Usage of dash-separated 'post-install' will not be supported in future versions. Please use the underscore name 'post_install' 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 pypa/setuptools#5011 for details. ******************************************************************************** !! opt = self._enforce_underscore(opt, section)
1 parent 205c8aa commit ab2a8f5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

setup.cfg

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[bdist_rpm]
22
doc_files = README.md AUTHORS COPYING INSTALL.md
3-
install-script = scripts/rpm-install.sh
4-
post-install = scripts/rpm-post-install.sh
3+
install_script = scripts/rpm-install.sh
4+
post_install = scripts/rpm-post-install.sh
55
requires = /usr/bin/python3
66
python3-django >= 4.2.20
77
python3-django-taggit

0 commit comments

Comments
 (0)