requirements/setup.cfg
yangyawei e64d5b81f0 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: Ifa343da0303d6b15cb9a6bcf6db82fa8317c547b
2021-04-30 10:13:27 +08:00

39 lines
1.6 KiB
INI

[metadata]
name = openstack_requirements
summary = OpenStack python dependency management tools
description_file =
README.rst
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
home_page = https://docs.openstack.org/requirements/latest/
classifier =
Environment :: OpenStack
Intended Audience :: Information Technology
Intended Audience :: System Administrators
License :: OSI Approved :: Apache Software License
Operating System :: POSIX :: Linux
Operating System :: Microsoft :: Windows
Operating System :: MacOS :: MacOS X
Programming Language :: Python
Programming Language :: Python :: 3
Programming Language :: Python :: 3.6
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
[files]
packages =
openstack_requirements
[entry_points]
console_scripts =
edit-constraints = openstack_requirements.cmds.edit_constraint:main
generate-constraints = openstack_requirements.cmds.generate:main
check-conflicts = openstack_requirements.cmds.check_conflicts:main
update-requirements = openstack_requirements.cmds.update:main
validate-constraints = openstack_requirements.cmds.validate:main
validate-projects = openstack_requirements.cmds.validate_projects:main
normalize-requirements = openstack_requirements.cmds.normalize_requirements:main
check-python2-support = openstack_requirements.cmds.check_py2:main
check-constraints = openstack_requirements.cmds.check_exists:main
build-lower-constraints = openstack_requirements.cmds.build_lower_constraints:main