diff --git a/pyproject.toml b/pyproject.toml index 4bfce639..1d2ae927 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,3 +1,41 @@ +[build-system] +requires = ["pbr>=6.1.1"] +build-backend = "pbr.build" + +[project] +name = "osc-lib" +description = "OpenStackClient 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 = [ + "Development Status :: 5 - Production/Stable", + "Environment :: OpenStack", + "Intended Audience :: Developers", + "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/osc-lib/" +Repository = "https://opendev.org/openstack/osc-lib/" +"Bug Tracker" = "https://storyboard.openstack.org/#!/project/openstack/osc-lib" + +[tool.setuptools] +packages = [ + "osc_lib" +] + [tool.mypy] python_version = "3.10" show_column_numbers = true diff --git a/setup.cfg b/setup.cfg index 08875be1..45814306 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,27 +1,2 @@ [metadata] name = osc-lib -summary = OpenStackClient Library -description_file = - README.rst -author = OpenStack -author_email = openstack-discuss@lists.openstack.org -url = https://docs.openstack.org/osc-lib/latest/ -project_urls = - Bug Tracker = https://storyboard.openstack.org/#!/project/openstack/osc-lib - Documentation = https://docs.openstack.org/osc-lib/latest/ - Source Code = https://opendev.org/openstack/osc-lib/ -python_requires = >=3.10 -classifier = - Development Status :: 5 - Production/Stable - 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 :: Only - -[files] -packages = - osc_lib