Migrate setup configuration to pyproject.toml
Change-Id: I77c42911173ac60ca0d03a66f8b2c0b5b195faee Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
@@ -1,3 +1,49 @@
|
|||||||
[build-system]
|
[build-system]
|
||||||
requires = ['setuptools>=68']
|
requires = ['setuptools>=68']
|
||||||
build-backend = 'setuptools.build_meta'
|
build-backend = 'setuptools.build_meta'
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "python-observabilityclient"
|
||||||
|
description = "OpenStack Observability Client"
|
||||||
|
authors = [
|
||||||
|
{name = "OpenStack", email = "openstack-discuss@lists.openstack.org"},
|
||||||
|
]
|
||||||
|
readme = {file = "README.rst", content-type = "text/markdown; charset=UTF-8"}
|
||||||
|
license = {text = "Apache-2.0"}
|
||||||
|
dynamic = ["version", "dependencies"]
|
||||||
|
requires-python = ">=3.10"
|
||||||
|
classifiers = [
|
||||||
|
"Environment :: Console",
|
||||||
|
"Environment :: OpenStack",
|
||||||
|
"Intended Audience :: Developers",
|
||||||
|
"Intended Audience :: Information Technology",
|
||||||
|
"Intended Audience :: System Administrators",
|
||||||
|
"License :: OSI Approved :: Apache Software License",
|
||||||
|
"Operating System :: OS Independent",
|
||||||
|
"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",
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.setuptools]
|
||||||
|
packages = [
|
||||||
|
"observabilityclient"
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.scripts]
|
||||||
|
aodh = "aodhclient.shell:main"
|
||||||
|
|
||||||
|
[project.entry-points."openstack.cli.extension"]
|
||||||
|
observabilityclient = "observabilityclient.plugin"
|
||||||
|
|
||||||
|
[project.entry-points."openstack.observabilityclient.v1"]
|
||||||
|
metric_list = "observabilityclient.v1.cli:List"
|
||||||
|
metric_show = "observabilityclient.v1.cli:Show"
|
||||||
|
metric_query = "observabilityclient.v1.cli:Query"
|
||||||
|
metric_delete = "observabilityclient.v1.cli:Delete"
|
||||||
|
metric_clean-tombstones = "observabilityclient.v1.cli:CleanTombstones"
|
||||||
|
metric_snapshot = "observabilityclient.v1.cli:Snapshot"
|
||||||
|
|||||||
39
setup.cfg
39
setup.cfg
@@ -1,41 +1,2 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = python-observabilityclient
|
name = python-observabilityclient
|
||||||
summary = OpenStack Observability Client
|
|
||||||
long_description = file: README.md
|
|
||||||
long_description_content_type = text/markdown; charset=UTF-8
|
|
||||||
license = Apache License, Version 2.0
|
|
||||||
author = OpenStack
|
|
||||||
author_email = openstack-discuss@lists.openstack.org
|
|
||||||
home_page = https://opendev.org/openstack/python-observabilityclient
|
|
||||||
python_requires = >=3.10
|
|
||||||
classifier =
|
|
||||||
Environment :: Console
|
|
||||||
Environment :: OpenStack
|
|
||||||
Intended Audience :: Developers
|
|
||||||
Intended Audience :: Information Technology
|
|
||||||
Intended Audience :: System Administrators
|
|
||||||
License :: OSI Approved :: Apache Software License
|
|
||||||
Operating System :: OS Independent
|
|
||||||
Programming Language :: Python
|
|
||||||
Programming Language :: Python :: Implementation :: CPython
|
|
||||||
Programming Language :: Python :: 3 :: Only
|
|
||||||
Programming Language :: Python :: 3
|
|
||||||
Programming Language :: Python :: 3.10
|
|
||||||
Programming Language :: Python :: 3.11
|
|
||||||
Programming Language :: Python :: 3.12
|
|
||||||
|
|
||||||
[files]
|
|
||||||
packages =
|
|
||||||
observabilityclient
|
|
||||||
|
|
||||||
[entry_points]
|
|
||||||
openstack.cli.extension =
|
|
||||||
observabilityclient = observabilityclient.plugin
|
|
||||||
|
|
||||||
openstack.observabilityclient.v1 =
|
|
||||||
metric_list = observabilityclient.v1.cli:List
|
|
||||||
metric_show = observabilityclient.v1.cli:Show
|
|
||||||
metric_query = observabilityclient.v1.cli:Query
|
|
||||||
metric_delete = observabilityclient.v1.cli:Delete
|
|
||||||
metric_clean-tombstones = observabilityclient.v1.cli:CleanTombstones
|
|
||||||
metric_snapshot = observabilityclient.v1.cli:Snapshot
|
|
||||||
|
|||||||
Reference in New Issue
Block a user