setup.cfg: Replace dashes with underscores

Setuptools v54.1.0 introduces a warning that the use of dash-separated
options in 'setup.cfg' will not be supported in a future version [1].
Get ahead of the issue by replacing the dashes with underscores. Without
this, we see 'UserWarning' messages like the following on new enough
versions of setuptools:

  UserWarning: Usage of dash-separated 'description-file' will not be
  supported in future versions. Please use the underscore name
  'description_file' instead

[1] https://github.com/pypa/setuptools/commit/a2e9ae4cb

Change-Id: I30839167f514925f6cb27de6e1256b366e6bc6e4
This commit is contained in:
wangjiaqi07 2023-03-21 09:22:10 +08:00
parent d63d4c50cd
commit 241a5927b0

View File

@ -26,8 +26,8 @@ packages =
[entry_points]
console_scripts =
venus-manager = venus.cmd.manage:main
venus-api = venus.cmd.api:main
venus_manager = venus.cmd.manage:main
venus_api = venus.cmd.api:main
venus.database.migration_backend =
sqlalchemy = oslo_db.sqlalchemy.migration