Skip to content

Commit d46202e

Browse files
committed
Move packaging configuration to pyproject.toml
Signed-off-by: Stephen Finucane <stephen@that.guru>
1 parent 6d0c732 commit d46202e

2 files changed

Lines changed: 35 additions & 32 deletions

File tree

pyproject.toml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,41 @@
22
requires = ["pbr>=6.1.1"]
33
build-backend = "pbr.build"
44

5+
[project]
6+
name = "git-pw"
7+
description = "Git-Patchwork integration tool"
8+
authors = [
9+
{name = "Stephen Finucane", email = "stephen@that.guru"},
10+
]
11+
readme = {file = "README.rst", content-type = "text/x-rst"}
12+
license = {text = "MIT"}
13+
dynamic = ["version", "dependencies"]
14+
requires-python = ">=3.10"
15+
classifiers = [
16+
"Development Status :: 5 - Production/Stable",
17+
"Environment :: Console",
18+
"Intended Audience :: Developers",
19+
"Intended Audience :: Information Technology",
20+
"Programming Language :: Python :: 3",
21+
"Programming Language :: Python :: 3 :: Only",
22+
"Programming Language :: Python",
23+
"License :: OSI Approved :: MIT License",
24+
"Operating System :: OS Independent",
25+
]
26+
27+
[project.urls]
28+
"Bug Tracker" = "https://github.com/getpatchwork/git-pw/issues"
29+
"Source Code" = "https://github.com/getpatchwork/git-pw"
30+
"Documentation" = "https://git-pw.readthedocs.io"
31+
32+
[project.scripts]
33+
git-pw = "git_pw.shell:cli"
34+
35+
[tool.setuptools]
36+
packages = [
37+
"git_pw"
38+
]
39+
540
[tool.ruff]
641
line-length = 79
742

setup.cfg

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,2 @@
11
[metadata]
22
name = git-pw
3-
summary = Git-Patchwork integration tool
4-
long_description = file: README.rst
5-
long_description_content_type = text/x-rst; charset=UTF-8
6-
license = MIT License
7-
license_file = LICENSE
8-
classifiers =
9-
Development Status :: 5 - Production/Stable
10-
Environment :: Console
11-
Intended Audience :: Developers
12-
Intended Audience :: Information Technology
13-
Programming Language :: Python :: 3
14-
Programming Language :: Python :: 3 :: Only
15-
Programming Language :: Python
16-
License :: OSI Approved :: MIT License
17-
Operating System :: OS Independent
18-
keywords = git patchwork
19-
author = Stephen Finucane
20-
author_email = stephen@that.guru
21-
url = https://github.com/getpatchwork/git-pw
22-
project_urls =
23-
Bug Tracker = https://github.com/getpatchwork/git-pw/issues
24-
Source Code = https://github.com/getpatchwork/git-pw
25-
Documentation = https://git-pw.readthedocs.io
26-
python_requires = >=3.10
27-
28-
[files]
29-
packages =
30-
git_pw
31-
32-
[entry_points]
33-
console_scripts =
34-
git-pw = git_pw.shell:cli

0 commit comments

Comments
 (0)