diff --git a/pyproject.toml b/pyproject.toml index 2a38d6b..3719001 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,49 @@ [build-system] requires = ["pbr>=6.1.1"] 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", +] diff --git a/setup.cfg b/setup.cfg index 5255c18..fce2887 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,38 +1,2 @@ [metadata] 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