Migrate setup configuration to pyproject.toml
Change-Id: I7743c7f809781956a78ca26e0ac27b1f5a534740 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
@@ -1,3 +1,41 @@
|
||||
[build-system]
|
||||
requires = ["pbr>=6.1.1"]
|
||||
build-backend = "pbr.build"
|
||||
|
||||
[project]
|
||||
name = "oslo.privsep"
|
||||
description = "OpenStack library for privilege separation"
|
||||
readme = "README.rst"
|
||||
authors = [
|
||||
{name = "OpenStack", email = "openstack-discuss@lists.openstack.org"},
|
||||
]
|
||||
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",
|
||||
]
|
||||
dynamic = ["version", "dependencies"]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://docs.openstack.org/oslo.privsep"
|
||||
Repository = "https://opendev.org/openstack/oslo.privsep"
|
||||
|
||||
[project.scripts]
|
||||
privsep-helper = "oslo_privsep.daemon:helper_main"
|
||||
|
||||
[project.entry-points."oslo.config.opts"]
|
||||
"oslo.privsep" = "oslo_privsep.priv_context:_list_opts"
|
||||
|
||||
[tool.setuptools]
|
||||
packages = ["oslo_privsep"]
|
||||
|
||||
32
setup.cfg
32
setup.cfg
@@ -1,34 +1,2 @@
|
||||
[metadata]
|
||||
name = oslo.privsep
|
||||
summary = OpenStack library for privilege separation
|
||||
description_file =
|
||||
README.rst
|
||||
author = OpenStack
|
||||
author_email = openstack-discuss@lists.openstack.org
|
||||
home_page = https://docs.openstack.org/oslo.privsep/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_privsep
|
||||
|
||||
[entry_points]
|
||||
console_scripts =
|
||||
privsep-helper = oslo_privsep.daemon:helper_main
|
||||
|
||||
oslo.config.opts =
|
||||
oslo.privsep = oslo_privsep.priv_context:_list_opts
|
||||
|
||||
Reference in New Issue
Block a user