Migrate setup configuration to pyproject.toml

Change-Id: Ia8d06608b013555f0f2f870191a73e22f650e84d
Signed-off-by: Takashi Kajinami <kajinamit@oss.nttdata.com>
This commit is contained in:
Takashi Kajinami
2026-07-16 23:19:46 +09:00
parent 7f3405341f
commit 6a37576bd7
2 changed files with 54 additions and 44 deletions
+54
View File
@@ -0,0 +1,54 @@
[build-system]
requires = ["pbr>=6.1.1"]
build-backend = "pbr.build"
[project]
name = "virtualbmc"
description = "Create virtual BMCs for controlling virtual instances via IPMI"
authors = [
{name = "OpenStack", email = "openstack-discuss@lists.openstack.org"},
]
readme = {file = "README.rst", content-type = "text/x-rst"}
license = "Apache-2.0"
dynamic = ["version", "dependencies"]
requires-python = ">=3.10"
classifiers = [
"Environment :: OpenStack",
"Intended Audience :: Information Technology",
"Intended Audience :: System Administrators",
"Operating System :: POSIX :: Linux",
"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",
"Programming Language :: Python :: 3.13",
]
[project.urls]
Homepage = "https://docs.openstack.org/virtualbmc"
Repository = "https://opendev.org/openstack/virtualbmc"
Bugs = "https://bugs.launchpad.net/virtualbmc"
[project.scripts]
vbmc = "virtualbmc.cmd.vbmc:main"
vbmcd = "virtualbmc.cmd.vbmcd:main"
[project.entry-points."virtualbmc"]
add = "virtualbmc.cmd.vbmc:AddCommand"
delete = "virtualbmc.cmd.vbmc:DeleteCommand"
start = "virtualbmc.cmd.vbmc:StartCommand"
stop = "virtualbmc.cmd.vbmc:StopCommand"
list = "virtualbmc.cmd.vbmc:ListCommand"
show = "virtualbmc.cmd.vbmc:ShowCommand"
[tool.setuptools.packages.find]
include = ["virtualbmc*"]
[tool.codespell]
quiet-level = 4
# Words to ignore:
# cna: Intel CNA card
ignore-words-list = "cna"
-44
View File
@@ -1,46 +1,2 @@
[metadata]
name = virtualbmc
summary = Create virtual BMCs for controlling virtual instances via IPMI
description_file =
README.rst
author = OpenStack
author_email = openstack-discuss@lists.openstack.org
home_page = https://docs.openstack.org/virtualbmc/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 :: 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
Programming Language :: Python :: 3.13
[files]
packages =
virtualbmc
[entry_points]
console_scripts =
vbmc = virtualbmc.cmd.vbmc:main
vbmcd = virtualbmc.cmd.vbmcd:main
virtualbmc =
add = virtualbmc.cmd.vbmc:AddCommand
delete = virtualbmc.cmd.vbmc:DeleteCommand
start = virtualbmc.cmd.vbmc:StartCommand
stop = virtualbmc.cmd.vbmc:StopCommand
list = virtualbmc.cmd.vbmc:ListCommand
show = virtualbmc.cmd.vbmc:ShowCommand
[codespell]
quiet-level = 4
# Words to ignore:
# cna: Intel CNA card
ignore-words-list = cna