Migrate setup configuration to pyproject.toml
Change-Id: I42cb1e9b347ce0ac2cac668b8788fa50d2b9f0aa 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 = "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
|
||||
|
||||
25
setup.cfg
25
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
|
||||
|
||||
Reference in New Issue
Block a user