mirror of
https://github.com/openzim/zimit.git
synced 2025-09-23 03:52:16 -04:00
Adopt hatch-openzim plugin
This commit is contained in:
parent
a44c1a7c7f
commit
89aea6b41e
@ -1,29 +1,22 @@
|
|||||||
[build-system]
|
[build-system]
|
||||||
requires = ["hatchling"]
|
requires = ["hatchling", "hatch-openzim==0.2.0"]
|
||||||
build-backend = "hatchling.build"
|
build-backend = "hatchling.build"
|
||||||
|
|
||||||
[project]
|
[project]
|
||||||
name = "zimit"
|
name = "zimit"
|
||||||
authors = [
|
|
||||||
{ name = "Kiwix", email = "dev@kiwix.org" },
|
|
||||||
]
|
|
||||||
keywords = ["some"]
|
|
||||||
requires-python = ">=3.11,<3.12"
|
requires-python = ">=3.11,<3.12"
|
||||||
description = "Make ZIM file from any website through crawling"
|
description = "Make ZIM file from any website through crawling"
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
license = {text = "GPL-3.0-or-later"}
|
|
||||||
classifiers = [
|
|
||||||
"Programming Language :: Python :: 3",
|
|
||||||
"Programming Language :: Python :: 3.11",
|
|
||||||
"License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)",
|
|
||||||
]
|
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"requests==2.31.0",
|
"requests==2.31.0",
|
||||||
"inotify==0.2.10",
|
"inotify==0.2.10",
|
||||||
"tld==0.13",
|
"tld==0.13",
|
||||||
"warc2zim @ git+https://github.com/openzim/warc2zim@warc2zim2",
|
"warc2zim @ git+https://github.com/openzim/warc2zim@warc2zim2",
|
||||||
]
|
]
|
||||||
dynamic = ["version"]
|
dynamic = ["authors", "classifiers", "keywords", "license", "version", "urls"]
|
||||||
|
|
||||||
|
[tool.hatch.metadata.hooks.openzim-metadata]
|
||||||
|
kind = "scraper"
|
||||||
|
|
||||||
[tool.hatch.metadata]
|
[tool.hatch.metadata]
|
||||||
allow-direct-references = true # to be removed once we use a released warc2zim version
|
allow-direct-references = true # to be removed once we use a released warc2zim version
|
||||||
@ -52,10 +45,6 @@ dev = [
|
|||||||
"zimit[check]",
|
"zimit[check]",
|
||||||
]
|
]
|
||||||
|
|
||||||
[project.urls]
|
|
||||||
Homepage = "https://github.com/openzim/zimit"
|
|
||||||
Donate = "https://www.kiwix.org/en/support-us/"
|
|
||||||
|
|
||||||
[project.scripts]
|
[project.scripts]
|
||||||
zimit = "zimit:zimit.zimit"
|
zimit = "zimit:zimit.zimit"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user