-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathpyproject.toml
More file actions
57 lines (49 loc) · 1.15 KB
/
Copy pathpyproject.toml
File metadata and controls
57 lines (49 loc) · 1.15 KB
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
[build-system]
requires = ["hatchling"]
build-backend = "hatchling.build"
[project]
name = "xtctool"
version = "0.1.0"
description = "Convert PDF files to XTH/XTC format for ESP32 e-paper displays"
readme = "README.md"
license = {text = "MIT"}
requires-python = ">=3.8"
dependencies = [
"click>=8.0.0",
"Pillow>=9.0.0",
"numpy>=1.20.0",
"requests>=2.28.0",
"PyMuPDF>=1.23.0",
"tqdm>=4.65.0",
]
[project.scripts]
xtctool = "xtctool.cli:main"
[project.optional-dependencies]
dev = [
"pytest>=7.0.0",
"black>=22.0.0",
"mypy>=0.950",
"bump-my-version>=0.18.0",
]
markdown = [
"typst>=0.2.0",
"jinja2>=3.0.0",
]
performance = [
"numba>=0.56.0", # JIT compilation for faster dithering (optional, ~10x speedup)
]
[tool.hatch.build.targets.wheel]
packages = ["xtctool"]
[tool.hatch.build.targets.wheel.force-include]
"xtctool/templates" = "xtctool/templates"
[tool.black]
line-length = 100
target-version = ['py38']
[tool.pytest.ini_options]
testpaths = ["tests", "xtctool"]
addopts = [
"--doctest-modules",
"--doctest-continue-on-failure",
"-v",
]
doctest_optionflags = ["NORMALIZE_WHITESPACE", "ELLIPSIS"]