Migrate setup configuration to pyproject.toml
Change-Id: I82233c7bdd7328c36fbc668886f6cec6e33da6af Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
@@ -1,3 +1,49 @@
|
||||
[build-system]
|
||||
requires = ["pbr>=6.1.1"]
|
||||
build-backend = "pbr.build"
|
||||
|
||||
[project]
|
||||
name = "oslo.concurrency"
|
||||
description = "Oslo Concurrency library"
|
||||
authors = [
|
||||
{name = "OpenStack", email = "openstack-discuss@lists.openstack.org"},
|
||||
]
|
||||
readme = {file = "README.rst", content-type = "text/x-rst"}
|
||||
license = {text = "Apache-2.0"}
|
||||
dynamic = ["version", "dependencies"]
|
||||
requires-python = ">=3.10"
|
||||
classifiers = [
|
||||
"Environment :: OpenStack",
|
||||
"Intended Audience :: Information Technology",
|
||||
"Intended Audience :: System Administrators",
|
||||
"License :: OSI Approved :: Apache Software License",
|
||||
"Operating System :: POSIX :: Linux",
|
||||
"Programming Language :: Python",
|
||||
"Programming Language :: Python :: 3",
|
||||
"Programming Language :: Python :: 3.10",
|
||||
"Programming Language :: Python :: 3.11",
|
||||
"Programming Language :: Python :: 3.12",
|
||||
"Programming Language :: Python :: 3.13",
|
||||
"Programming Language :: Python :: 3 :: Only",
|
||||
"Programming Language :: Python :: Implementation :: CPython",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://docs.openstack.org/oslo.concurrency"
|
||||
Repository = "https://opendev.org/openstack/oslo.concurrency"
|
||||
|
||||
[project.optional-dependencies]
|
||||
eventlet = [
|
||||
"eventlet>=0.35.2", # MIT
|
||||
]
|
||||
|
||||
[project.entry-points."oslo.config.opts"]
|
||||
"oslo.concurrency" = "oslo_concurrency.opts:list_opts"
|
||||
|
||||
[project.scripts]
|
||||
"lockutils-wrapper" = "oslo_concurrency.lockutils:main"
|
||||
|
||||
[tool.setuptools]
|
||||
packages = [
|
||||
"oslo_concurrency"
|
||||
]
|
||||
|
35
setup.cfg
35
setup.cfg
@@ -1,37 +1,2 @@
|
||||
[metadata]
|
||||
name = oslo.concurrency
|
||||
summary = Oslo Concurrency library
|
||||
description_file =
|
||||
README.rst
|
||||
author = OpenStack
|
||||
author_email = openstack-discuss@lists.openstack.org
|
||||
home_page = https://docs.openstack.org/oslo.concurrency/latest/
|
||||
python_requires = >=3.10
|
||||
classifier =
|
||||
Environment :: OpenStack
|
||||
Intended Audience :: Information Technology
|
||||
Intended Audience :: System Administrators
|
||||
License :: OSI Approved :: Apache Software License
|
||||
Operating System :: POSIX :: Linux
|
||||
Programming Language :: Python
|
||||
Programming Language :: Python :: 3
|
||||
Programming Language :: Python :: 3.10
|
||||
Programming Language :: Python :: 3.11
|
||||
Programming Language :: Python :: 3.12
|
||||
Programming Language :: Python :: 3.13
|
||||
Programming Language :: Python :: 3 :: Only
|
||||
Programming Language :: Python :: Implementation :: CPython
|
||||
|
||||
[files]
|
||||
packages =
|
||||
oslo_concurrency
|
||||
|
||||
[entry_points]
|
||||
oslo.config.opts =
|
||||
oslo.concurrency = oslo_concurrency.opts:list_opts
|
||||
console_scripts =
|
||||
lockutils-wrapper = oslo_concurrency.lockutils:main
|
||||
|
||||
[extras]
|
||||
eventlet =
|
||||
eventlet>=0.35.2 # MIT
|
||||
|
Reference in New Issue
Block a user