Migrate setup configuration to pyproject.toml
Change-Id: I56a2c07d53d35ec338d24f8eb1488df039988176 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
@@ -1,3 +1,49 @@
|
|||||||
[build-system]
|
[build-system]
|
||||||
requires = ["pbr>=6.1.1"]
|
requires = ["pbr>=6.1.1"]
|
||||||
build-backend = "pbr.build"
|
build-backend = "pbr.build"
|
||||||
|
|
||||||
|
[project]
|
||||||
|
name = "pycadf"
|
||||||
|
description = "CADF 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 = [
|
||||||
|
"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",
|
||||||
|
]
|
||||||
|
|
||||||
|
[project.urls]
|
||||||
|
Homepage = "https://docs.openstack.org/pycadf"
|
||||||
|
Repository = "https://opendev.org/openstack/pycadf"
|
||||||
|
|
||||||
|
[tool.setuptools]
|
||||||
|
packages = [
|
||||||
|
"pycadf"
|
||||||
|
]
|
||||||
|
|
||||||
|
[tool.setuptools.data-files]
|
||||||
|
"etc/pycadf" = [
|
||||||
|
"etc/pycadf/cinder_api_audit_map.conf",
|
||||||
|
"etc/pycadf/glance_api_audit_map.conf",
|
||||||
|
"etc/pycadf/gnocchi_api_audit_map.conf",
|
||||||
|
"etc/pycadf/heat_api_audit_map.conf",
|
||||||
|
"etc/pycadf/ironic_api_audit_map.conf",
|
||||||
|
"etc/pycadf/neutron_api_audit_map.conf",
|
||||||
|
"etc/pycadf/nova_api_audit_map.conf",
|
||||||
|
"etc/pycadf/trove_api_audit_map.conf",
|
||||||
|
"etc/pycadf/swift_api_audit_map.conf",
|
||||||
|
]
|
||||||
|
36
setup.cfg
36
setup.cfg
@@ -1,38 +1,2 @@
|
|||||||
[metadata]
|
[metadata]
|
||||||
name = pycadf
|
name = pycadf
|
||||||
author = OpenStack
|
|
||||||
author_email = openstack-discuss@lists.openstack.org
|
|
||||||
summary = CADF Library
|
|
||||||
description_file =
|
|
||||||
README.rst
|
|
||||||
home_page = https://docs.openstack.org/pycadf/latest/
|
|
||||||
python_requires = >=3.10
|
|
||||||
classifier =
|
|
||||||
Development Status :: 5 - Production/Stable
|
|
||||||
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 :: 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 =
|
|
||||||
pycadf
|
|
||||||
data_files =
|
|
||||||
etc/pycadf =
|
|
||||||
etc/pycadf/cinder_api_audit_map.conf
|
|
||||||
etc/pycadf/glance_api_audit_map.conf
|
|
||||||
etc/pycadf/gnocchi_api_audit_map.conf
|
|
||||||
etc/pycadf/heat_api_audit_map.conf
|
|
||||||
etc/pycadf/ironic_api_audit_map.conf
|
|
||||||
etc/pycadf/neutron_api_audit_map.conf
|
|
||||||
etc/pycadf/nova_api_audit_map.conf
|
|
||||||
etc/pycadf/trove_api_audit_map.conf
|
|
||||||
etc/pycadf/swift_api_audit_map.conf
|
|
||||||
|
Reference in New Issue
Block a user