Skip to content

Commit a79dbb8

Browse files
committed
Move package configuration to pyproject.toml
We need to keep a stub setup.cfg file around until pbr removes this requirement. Signed-off-by: Stephen Finucane <[email protected]>
1 parent 59e9e8a commit a79dbb8

File tree

2 files changed

+43
-36
lines changed

2 files changed

+43
-36
lines changed

pyproject.toml

Lines changed: 43 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,48 @@
1+
[build-system]
2+
requires = ["pbr>=6.1.1"]
3+
build-backend = "pbr.build"
4+
5+
[project]
6+
name = "pwclient"
7+
description = "The command-line client for the Patchwork patch tracking tool"
8+
authors = [
9+
{name = "Nate Case", email = "[email protected]"},
10+
{name = "Stephen Finucane", email = "[email protected]"}
11+
]
12+
maintainers = [
13+
{name = "Stephen Finucane", email = "[email protected]"}
14+
]
15+
readme = {file = "README.rst", content-type = "text/x-rst"}
16+
license = "GPL-2.0"
17+
dynamic = ["version", "dependencies"]
18+
requires-python = ">=3.9"
19+
keywords = ["patchwork", "api"]
20+
classifiers = [
21+
"Development Status :: 5 - Production/Stable",
22+
"Environment :: Console",
23+
"Intended Audience :: Developers",
24+
"Intended Audience :: Information Technology",
25+
"Programming Language :: Python :: 3",
26+
"Programming Language :: Python :: 3 :: Only",
27+
"Programming Language :: Python",
28+
"Operating System :: OS Independent",
29+
]
30+
31+
[project.urls]
32+
"Bug Tracker" = "https://github.com/getpatchwork/pwclient/issues"
33+
"Source Code" = "https://github.com/getpatchwork/pwclient"
34+
"Documentation" = "https://pwclient.readthedocs.io"
35+
36+
[project.scripts]
37+
pwclient = "pwclient.shell:main"
38+
39+
[tool.setuptools]
40+
packages = [
41+
"pwclient"
42+
]
43+
144
[tool.ruff]
245
line-length = 79
3-
target-version = "py39"
446

547
[tool.ruff.format]
648
quote-style = "preserve"

setup.cfg

Lines changed: 0 additions & 35 deletions
Original file line numberDiff line numberDiff line change
@@ -1,37 +1,2 @@
11
[metadata]
22
name = pwclient
3-
summary = The command-line client for the Patchwork patch tracking tool
4-
long_description = file: README.rst
5-
long_description_content_type = text/x-rst; charset=UTF-8
6-
license = GPL v2
7-
license_files =
8-
COPYING
9-
classifiers =
10-
Development Status :: 5 - Production/Stable
11-
Environment :: Console
12-
Intended Audience :: Developers
13-
Intended Audience :: Information Technology
14-
Programming Language :: Python :: 3
15-
Programming Language :: Python :: 3 :: Only
16-
Programming Language :: Python
17-
License :: OSI Approved :: GNU General Public License v2 (GPLv2)
18-
Operating System :: OS Independent
19-
keywords = patchwork api
20-
author = Nate Case
21-
author_email = [email protected]
22-
maintainer = Stephen Finucane
23-
maintainer_email = [email protected]
24-
url = https://github.com/getpatchwork/pwclient
25-
project_urls =
26-
Bug Tracker = https://github.com/getpatchwork/pwclient/issues
27-
Source Code = https://github.com/getpatchwork/pwclient
28-
Documentation = https://pwclient.readthedocs.io
29-
python_requires = >=3.9
30-
31-
[files]
32-
packages =
33-
pwclient
34-
35-
[entry_points]
36-
console_scripts =
37-
pwclient = pwclient.shell:main

0 commit comments

Comments
 (0)