Skip to content

Commit 575f5c7

Browse files
committed
Adopt hatch-openzim plugin
1 parent 57b16c3 commit 575f5c7

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

pyproject.toml

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,26 +1,19 @@
11
[build-system]
2-
requires = ["hatchling"]
2+
requires = ["hatchling", "hatch-openzim"]
33
build-backend = "hatchling.build"
44

55
[project]
66
name = "great-project"
7-
authors = [
8-
{ name = "Kiwix", email = "dev@kiwix.org" },
9-
]
10-
keywords = ["some"]
11-
requires-python = ">=3.10"
7+
requires-python = ">=3.12,<3.13"
128
description = "A Great Project"
139
readme = "README.md"
14-
license = {text = "GPL-3.0-or-later"}
15-
classifiers = [
16-
"Programming Language :: Python :: 3",
17-
"Programming Language :: Python :: 3.11",
18-
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
19-
]
2010
dependencies = [
2111
"requests==2.31.0",
2212
]
23-
dynamic = ["version"]
13+
dynamic = ["authors", "classifiers", "keywords", "license", "version", "urls"]
14+
15+
[tool.hatch.metadata.hooks.openzim-metadata]
16+
additional-keywords = ["some"]
2417

2518
[project.optional-dependencies]
2619
scripts = [
@@ -46,10 +39,6 @@ dev = [
4639
"great-project[check]",
4740
]
4841

49-
[project.urls]
50-
Homepage = "https://github.com/openzim/great-project"
51-
Donate = "https://www.kiwix.org/en/support-us/"
52-
5342
[project.scripts]
5443
great-binary = "great_project:entrypoint"
5544

0 commit comments

Comments
 (0)