Commit ab2a8f5
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
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
4 | | - | |
| 3 | + | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
0 commit comments