Migrate setup configuration to pyproject.toml
Change-Id: Iec58076a1de4cc04f4cd8c080ad231d40543f147 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
@@ -1,3 +1,66 @@
|
|||||||
[build-system]
|
[build-system]
|
||||||
requires = ["pbr>=6.1.1"]
|
requires = ["pbr>=6.1.1"]
|
||||||
build-backend = "pbr.build"
|
build-backend = "pbr.build"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "osprofiler"
|
||||||
|
description = "OpenStack Profiler 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 = [
|
||||||
|
"Development Status :: 5 - Production/Stable",
|
||||||
|
"Environment :: Console",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"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",
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
Homepage = "https://docs.openstack.org/osprofiler/"
|
||||||
|
Repository = "https://opendev.org/openstack/osprofiler"
|
||||||
|
|
||||||
|
[project.entry-points."oslo.config.opts"]
|
||||||
|
osprofiler = "osprofiler.opts:list_opts"
|
||||||
|
|
||||||
|
[project.entry-points."paste.filter_factory"]
|
||||||
|
osprofiler = "osprofiler.web:WsgiMiddleware.factory"
|
||||||
|
|
||||||
|
[project.optional-dependencies]
|
||||||
|
elasticsearch = [
|
||||||
|
"elasticsearch>=2.0.0", # Apache-2.0
|
||||||
|
]
|
||||||
|
messaging = [
|
||||||
|
"oslo.messaging>=14.1.0", # Apache-2.0
|
||||||
|
]
|
||||||
|
mongo = [
|
||||||
|
"pymongo!=3.1,>=3.0.2", # Apache-2.0
|
||||||
|
]
|
||||||
|
otlp = [
|
||||||
|
"opentelemetry-exporter-otlp>=1.16.0", #Apache-2.0
|
||||||
|
"opentelemetry-sdk>=1.16.0", # Apache-2.0
|
||||||
|
]
|
||||||
|
redis = [
|
||||||
|
"redis>=2.10.0", # MIT
|
||||||
|
]
|
||||||
|
sqlalchemy = [
|
||||||
|
"SQLAlchemy>=1.4.0", # MIT
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
osprofiler = "osprofiler.cmd.shell:main"
|
||||||
|
|
||||||
|
[tool.setuptools]
|
||||||
|
packages = [
|
||||||
|
"osprofiler"
|
||||||
|
]
|
||||||
|
48
setup.cfg
48
setup.cfg
@@ -1,50 +1,2 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = osprofiler
|
name = osprofiler
|
||||||
summary = OpenStack Profiler Library
|
|
||||||
description_file =
|
|
||||||
README.rst
|
|
||||||
author = OpenStack
|
|
||||||
author_email = openstack-discuss@lists.openstack.org
|
|
||||||
home_page = https://docs.openstack.org/osprofiler/latest/
|
|
||||||
python_requires = >=3.10
|
|
||||||
classifier =
|
|
||||||
Environment :: OpenStack
|
|
||||||
Intended Audience :: Developers
|
|
||||||
Intended Audience :: Information Technology
|
|
||||||
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 =
|
|
||||||
osprofiler
|
|
||||||
|
|
||||||
[extras]
|
|
||||||
elasticsearch =
|
|
||||||
elasticsearch>=2.0.0 # Apache-2.0
|
|
||||||
messaging =
|
|
||||||
oslo.messaging>=14.1.0 # Apache-2.0
|
|
||||||
mongo =
|
|
||||||
pymongo!=3.1,>=3.0.2 # Apache-2.0
|
|
||||||
otlp =
|
|
||||||
opentelemetry-exporter-otlp>=1.16.0 #Apache-2.0
|
|
||||||
opentelemetry-sdk>=1.16.0 # Apache-2.0
|
|
||||||
redis =
|
|
||||||
redis>=2.10.0 # MIT
|
|
||||||
sqlalchemy =
|
|
||||||
SQLAlchemy>=1.4.0 # MIT
|
|
||||||
|
|
||||||
[entry_points]
|
|
||||||
oslo.config.opts =
|
|
||||||
osprofiler = osprofiler.opts:list_opts
|
|
||||||
console_scripts =
|
|
||||||
osprofiler = osprofiler.cmd.shell:main
|
|
||||||
paste.filter_factory =
|
|
||||||
osprofiler = osprofiler.web:WsgiMiddleware.factory
|
|
||||||
|
Reference in New Issue
Block a user