forked from mirrors/cbz
fix pyproject toml to work with uv
This commit is contained in:
+17
-34
@@ -1,15 +1,10 @@
|
|||||||
[build-system]
|
[project]
|
||||||
requires = ["poetry-core>=1.0.0"]
|
|
||||||
build-backend = "poetry.core.masonry.api"
|
|
||||||
|
|
||||||
[tool.poetry]
|
|
||||||
name = "cbz"
|
name = "cbz"
|
||||||
version = "3.4.5"
|
version = "3.4.5"
|
||||||
description = "CBZ simplifies creating, managing, and viewing comic book files in CBZ, CBR, and PDF formats, offering seamless packaging, metadata handling and built-in viewing capabilities."
|
description = "CBZ simplifies creating, managing, and viewing comic book files in CBZ, CBR, and PDF formats, offering seamless packaging, metadata handling and built-in viewing capabilities."
|
||||||
license = "MIT"
|
license = "MIT"
|
||||||
authors = ["hyugogirubato <65763543+hyugogirubato@users.noreply.github.com>"]
|
authors = [{name="hyugogirubato", email="65763543+hyugogirubato@users.noreply.github.com"}]
|
||||||
readme = "README.md"
|
readme = "README.md"
|
||||||
repository = "https://github.com/hyugogirubato/cbz"
|
|
||||||
keywords = [
|
keywords = [
|
||||||
"python",
|
"python",
|
||||||
"cbz",
|
"cbz",
|
||||||
@@ -29,41 +24,29 @@ classifiers = [
|
|||||||
"Topic :: Utilities",
|
"Topic :: Utilities",
|
||||||
"Topic :: Software Development :: Libraries :: Python Modules",
|
"Topic :: Software Development :: Libraries :: Python Modules",
|
||||||
]
|
]
|
||||||
include = [
|
requires-python = ">=3.8,<4.0"
|
||||||
{ path = "CHANGELOG.md", format = "sdist" },
|
|
||||||
{ path = "README.md", format = "sdist" },
|
dependencies= [
|
||||||
{ path = "LICENSE", format = "sdist" },
|
"langcodes>=3.4.0",
|
||||||
|
"Pillow>=10.4.0",
|
||||||
|
"pypdf >=5.7.0",
|
||||||
|
"rarfile>=4.2",
|
||||||
|
"xmltodict>=0.14.2"
|
||||||
]
|
]
|
||||||
|
|
||||||
|
|
||||||
[tool.poetry.urls]
|
[tool.poetry.urls]
|
||||||
"Issues" = "https://github.com/hyugogirubato/cbz/issues"
|
"Issues" = "https://github.com/hyugogirubato/cbz/issues"
|
||||||
"Changelog" = "https://github.com/hyugogirubato/cbz/blob/main/CHANGELOG.md"
|
"Changelog" = "https://github.com/hyugogirubato/cbz/blob/main/CHANGELOG.md"
|
||||||
|
|
||||||
[tool.poetry.dependencies]
|
|
||||||
python = ">=3.8,<4.0"
|
[project.optional-dependencies]
|
||||||
langcodes = ">=3.4.0"
|
pillow = ["pillow-avif-plugin>=1.5.2", "pillow-jxl-plugin>=1.3.4"]
|
||||||
Pillow = ">=10.4.0"
|
|
||||||
pypdf = ">=5.7.0"
|
[dependency-groups]
|
||||||
rarfile = ">=4.2"
|
dev = ["pytest>=7.4.0,<9.0.0", "pytest-cov>=5.0.0"]
|
||||||
xmltodict = ">=0.14.2"
|
|
||||||
pillow-avif-plugin = { version = ">=1.5.2", optional = true, markers = "python_version >= '3.9'" }
|
|
||||||
pillow-jxl-plugin = { version = ">=1.3.4", optional = true, markers = "python_version >= '3.9'" }
|
|
||||||
|
|
||||||
|
|
||||||
[tool.poetry.extras]
|
|
||||||
pillow = ["pillow-avif-plugin", "pillow-jxl-plugin"]
|
|
||||||
|
|
||||||
[tool.poetry.scripts]
|
|
||||||
cbzplayer = "cbz.__main__:main"
|
|
||||||
|
|
||||||
[[tool.poetry.source]]
|
|
||||||
name = "localpypi"
|
|
||||||
url = "https://pypi.org/simple/"
|
|
||||||
priority = "primary"
|
|
||||||
|
|
||||||
[tool.poetry.group.dev.dependencies]
|
|
||||||
pytest = ">=7.4.0,<9.0.0"
|
|
||||||
pytest-cov = ">=5.0.0"
|
|
||||||
|
|
||||||
[tool.pytest.ini_options]
|
[tool.pytest.ini_options]
|
||||||
testpaths = ["tests"]
|
testpaths = ["tests"]
|
||||||
|
|||||||
Reference in New Issue
Block a user