-
Notifications
You must be signed in to change notification settings - Fork 18
/
pyproject.toml
116 lines (102 loc) · 2.88 KB
/
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[build-system]
requires = ["pdm-backend"]
build-backend = "pdm.backend"
[project]
authors = [
{email = "[email protected]", name = "Louis Maddox"}
]
classifiers = [
"Development Status :: 4 - Beta",
"Operating System :: OS Independent",
"License :: OSI Approved :: MIT License",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Multimedia :: Graphics :: Graphics Conversion",
"Topic :: Scientific/Engineering :: Image Processing"
]
dependencies = [
"numpy>1.25",
# NumPy 1.25+ requires Python >= 3.9
"matplotlib",
"scipy",
"sympy",
"opencv-python",
"msgspec>=0.18.6"
]
description = "Page dewarping and thresholding using a cubic sheet model."
keywords = [
"image processing",
"cubic spline",
"dewarping",
"document scanning",
"image correction",
"computer vision"
]
license = {text = "MIT"}
name = "page-dewarp"
readme = "README.md"
requires-python = ">=3.9,<3.13"
version = "0.1.5"
[project.scripts]
page-dewarp = "page_dewarp.__main__:main"
[project.urls]
Homepage = "https://github.com/lmmx/page-dewarp"
Repository = "https://github.com/lmmx/page-dewarp.git"
# The following scripts are package development release reminders and/or shortcuts
[tool.pdm.scripts]
version = "bash news/scripts/get_version.sh"
erase-news = "rm -rf news/fragments"
write-news = "bash news/scripts/version_based_changelog.sh next"
write-all-news = "bash news/scripts/version_based_changelog.sh all"
build-news = "bash news/scripts/build_changelog.sh"
refresh-changelog = "echo 'pdm run erase-news && pdm run write-news && pdm run build-news'"
[tool.towncrier]
package = "page_dewarp"
package_dir = "src/"
filename = "CHANGELOG.md"
issue_format = "[#{issue}](https://github.com/lmmx/page-dewarp/issues/{issue})"
directory = "news/fragments/"
start_string = "<!-- insertion marker -->"
title_format = "[v{version}](https://github.com/lmmx/page-dewarp/releases/tag/{version}) ({project_date})"
template = "news/towncrier_template.md"
underlines = "-~^"
[[tool.towncrier.type]]
directory = "feature"
name = "Features & Improvements"
showcontent = true
[[tool.towncrier.type]]
directory = "bugfix"
name = "Bug Fixes"
showcontent = true
[[tool.towncrier.type]]
directory = "doc"
name = "Improved Documentation"
showcontent = true
[[tool.towncrier.type]]
directory = "packaging"
name = "Packaging & Build Process"
showcontent = true
[[tool.towncrier.type]]
directory = "dep"
name = "Dependencies"
showcontent = true
[[tool.towncrier.type]]
directory = "removal"
name = "Removals and Deprecations"
showcontent = true
[[tool.towncrier.type]]
directory = "refactor"
name = "Code Refactoring"
showcontent = true
[[tool.towncrier.type]]
directory = "misc"
name = "Miscellany"
showcontent = true
[tool.uv]
dev-dependencies = [
"pysnooper>=1.2.0",
"pytest>=8.3.2",
"towncrier>=24.8.0"
]