Migrate setup configuration to pyproject.toml
Signed-off-by: Stephen Finucane <stephenfin@redhat.com> Change-Id: I8d19c8bec50964cbe58abbbfb2148ccdeee7ee63
This commit is contained in:
@@ -1,3 +1,42 @@
|
||||
[build-system]
|
||||
requires = ["pbr>=6.1.1"]
|
||||
build-backend = "pbr.build"
|
||||
|
||||
[project]
|
||||
name = "oslo.rootwrap"
|
||||
description = "Oslo Rootwrap"
|
||||
readme = "README.rst"
|
||||
authors = [
|
||||
{name = "OpenStack", email = "openstack-discuss@lists.openstack.org"},
|
||||
]
|
||||
requires-python = ">=3.10"
|
||||
dynamic = ["version", "dependencies"]
|
||||
classifiers = [
|
||||
"Environment :: OpenStack",
|
||||
"Intended Audience :: Developers",
|
||||
"Intended Audience :: Information Technology",
|
||||
"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",
|
||||
"Programming Language :: Python :: Implementation :: CPython",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
homepage = "https://docs.openstack.org/oslo.rootwrap/latest/"
|
||||
|
||||
[project.scripts]
|
||||
oslo-rootwrap = "oslo_rootwrap.cmd:main"
|
||||
oslo-rootwrap-daemon = "oslo_rootwrap.cmd:daemon"
|
||||
|
||||
[tool.pbr]
|
||||
packages = ["oslo_rootwrap"]
|
||||
|
||||
[tool.setuptools.packages.find]
|
||||
include = ["oslo_rootwrap*"]
|
||||
exclude = ["releasenotes*"]
|
||||
|
||||
31
setup.cfg
31
setup.cfg
@@ -1,33 +1,2 @@
|
||||
[metadata]
|
||||
name = oslo.rootwrap
|
||||
author = OpenStack
|
||||
author_email = openstack-discuss@lists.openstack.org
|
||||
summary = Oslo Rootwrap
|
||||
description_file =
|
||||
README.rst
|
||||
home_page = https://docs.openstack.org/oslo.rootwrap/latest/
|
||||
python_requires = >=3.10
|
||||
classifier =
|
||||
Environment :: OpenStack
|
||||
Intended Audience :: Developers
|
||||
Intended Audience :: Information Technology
|
||||
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
|
||||
Programming Language :: Python :: Implementation :: CPython
|
||||
|
||||
[files]
|
||||
packages =
|
||||
oslo_rootwrap
|
||||
|
||||
[entry_points]
|
||||
console_scripts =
|
||||
oslo-rootwrap = oslo_rootwrap.cmd:main
|
||||
oslo-rootwrap-daemon = oslo_rootwrap.cmd:daemon
|
||||
|
||||
|
||||
Reference in New Issue
Block a user