/
pyproject.toml
43 lines (37 loc) · 956 Bytes
/
pyproject.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
[tool.poetry]
name = "dpsprep"
version = "2.2.4"
description = "A DjVu to PDF converter with a focus on small output size and the ability to preserve document outlines and text layers"
authors = ["Kevin Arthur Schiff Croker", "Ianis Vasilev"]
license = "GPL-3.0-or-later"
[tool.poetry.dependencies]
click = "^8.1.3"
fpdf2 = "^2.7.5"
loguru = "^0.7.0"
pillow = "^10.0"
python = "^3.9"
pdfrw = "^0.4"
djvulibre-python = "^0.9.0"
ocrmypdf = {version = "^15.0.2", optional = true}
[tool.poetry.group.dev.dependencies]
mypy = "^1.6.1"
pytest = "^7.3.1"
pytest-image-diff = "^0.0.11"
ruff = "^0.1.4"
types-fpdf2 = "^2.7.8.20240217"
types-pillow = "^9.5.0.2"
[tool.poetry.extras]
compress = ["ocrmypdf"]
[build-system]
requires = ["poetry-core>=1.0.0"]
build-backend = "poetry.core.masonry.api"
[tool.ruff]
ignore = ["E501"]
[[tool.mypy.overrides]]
module = [
"djvu.*",
"ocrmypdf.*",
"pdfrw.*",
"pytest_image_diff.*"
]
ignore_missing_imports = true