Skip to content

Commit 9a4b0cd

Browse files
committed
Better pypi readme and classifiers
1 parent 034ec82 commit 9a4b0cd

File tree

1 file changed

+31
-3
lines changed

1 file changed

+31
-3
lines changed

pyproject.toml

Lines changed: 31 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,28 @@
22
name = "pip-check"
33
version = "3.1"
44
description = "Display installed pip packages and their update status."
5-
readme = "README.md"
65
requires-python = ">=3.8"
6+
dynamic = ["readme"]
7+
license = { text = "MIT" }
78
authors = [
89
{ name = "Martin Mahner", email = "[email protected]" }
910
]
10-
license = { text = "MIT" }
11+
classifiers = [
12+
"Development Status :: 5 - Production/Stable",
13+
"Environment :: Console",
14+
"Intended Audience :: Developers",
15+
"License :: OSI Approved :: MIT License",
16+
"Operating System :: OS Independent",
17+
"Programming Language :: Python :: 3.8",
18+
"Programming Language :: Python :: 3.9",
19+
"Programming Language :: Python :: 3.10",
20+
"Programming Language :: Python :: 3.11",
21+
"Programming Language :: Python :: 3.12",
22+
"Programming Language :: Python :: 3.13",
23+
"Programming Language :: Python :: 3.14",
24+
"Programming Language :: Python",
25+
"Software Development :: Build Tools",
26+
]
1127
dependencies = [
1228
"terminaltables",
1329
"packaging",
@@ -21,14 +37,26 @@ dev = [
2137

2238
[project.urls]
2339
Homepage = "https://github.com/bartTC/pip-check/"
40+
Issues = "https://github.com/bartTC/pip-check/issues"
2441

2542
[project.scripts]
2643
pip-check = "pip_check:main"
2744

2845
[build-system]
29-
requires = ["hatchling"]
46+
requires = ["hatchling", "hatch-fancy-pypi-readme"]
3047
build-backend = "hatchling.build"
3148

49+
[tool.hatch.metadata.hooks.fancy-pypi-readme]
50+
content-type = "text/markdown"
51+
52+
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
53+
path = "README.md"
54+
55+
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
56+
text = "\n\n"
57+
58+
[[tool.hatch.metadata.hooks.fancy-pypi-readme.fragments]]
59+
path = "CHANGELOG.md"
3260

3361
[tool.ruff]
3462
target-version = "py38"

0 commit comments

Comments
 (0)