Migrate setup configuration to pyproject.toml
Change-Id: Iada58829b4e7b3d70fb5d45bbd43de91f8d97716 Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
This commit is contained in:
@@ -1,3 +1,46 @@
|
||||
[build-system]
|
||||
requires = ["pbr>=6.1.1"]
|
||||
build-backend = "pbr.build"
|
||||
|
||||
[project]
|
||||
name = "openstackdocstheme"
|
||||
description = "OpenStack Docs Theme"
|
||||
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",
|
||||
"Topic :: Documentation",
|
||||
]
|
||||
|
||||
[project.urls]
|
||||
Homepage = "https://docs.openstack.org/openstackdocstheme"
|
||||
Repository = "https://opendev.org/openstack/openstackdocstheme"
|
||||
|
||||
[tool.setuptools]
|
||||
packages = [
|
||||
"openstackdocstheme"
|
||||
]
|
||||
script-files = [
|
||||
"bin/docstheme-build-translated.sh",
|
||||
"bin/docstheme-lang-display-name.py",
|
||||
"bin/docstheme-build-pdf",
|
||||
]
|
||||
|
||||
[tool.ruff]
|
||||
line-length = 79
|
||||
|
||||
|
||||
29
setup.cfg
29
setup.cfg
@@ -1,31 +1,2 @@
|
||||
[metadata]
|
||||
name = openstackdocstheme
|
||||
summary = OpenStack Docs Theme
|
||||
description_file =
|
||||
README.rst
|
||||
author = OpenStack
|
||||
author_email = openstack-discuss@lists.openstack.org
|
||||
home_page = https://docs.openstack.org/openstackdocstheme/latest/
|
||||
python_requires = >=3.10
|
||||
classifier =
|
||||
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
|
||||
Programming Language :: Python :: 3 :: Only
|
||||
Topic :: Documentation
|
||||
|
||||
[files]
|
||||
packages =
|
||||
openstackdocstheme
|
||||
scripts =
|
||||
bin/docstheme-build-translated.sh
|
||||
bin/docstheme-lang-display-name.py
|
||||
bin/docstheme-build-pdf
|
||||
|
||||
Reference in New Issue
Block a user