diff --git a/pyproject.toml b/pyproject.toml index 2a38d6b..c8df3f8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -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*"] diff --git a/setup.cfg b/setup.cfg index baf4b68..f2b9f86 100644 --- a/setup.cfg +++ b/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 -