-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathpyproject.toml
More file actions
95 lines (78 loc) · 1.9 KB
/
Copy pathpyproject.toml
File metadata and controls
95 lines (78 loc) · 1.9 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
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
[build-system]
requires = ["setuptools>=61", "wheel"]
build-backend = "setuptools.build_meta"
[project]
name = "pyblur"
version = "1.3.0"
description = "Image blurring routines"
readme = "README.md"
license = { file = "LICENSE" }
authors = [{ name = "lospooky", email = "my.accounts@gmx.se" }]
keywords = ["blur", "image", "convolution"]
requires-python = ">=3.10"
dependencies = [
"numpy>=1.21",
"pillow>=9.0",
]
classifiers = [
"Development Status :: 3 - Alpha",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Programming Language :: Python :: 3.13",
"Topic :: Multimedia :: Graphics",
"Topic :: Scientific/Engineering :: Image Processing",
]
[project.optional-dependencies]
scipy = [
"scikit-image>=0.20",
"scipy>=1.7",
]
opencv = [
"opencv-python>=4.5",
]
[project.urls]
Homepage = "https://github.com/lospooky/pyblur"
Repository = "https://github.com/lospooky/pyblur"
[tool.setuptools.packages.find]
where = ["src"]
[tool.setuptools.package-data]
pyblur = ["*.npz", "py.typed"]
[tool.ty.environment]
python-version = "3.10"
[tool.pytest.ini_options]
testpaths = ["tests"]
addopts = [
"--cov=pyblur",
"--cov-branch",
"--cov-report=term-missing",
"--cov-fail-under=100",
]
[tool.coverage.run]
branch = true
source = ["src/pyblur"]
[tool.coverage.report]
exclude_lines = [
"pragma: no cover",
"if TYPE_CHECKING:",
"@overload",
]
[tool.ruff]
src = ["src"]
line-length = 99
[tool.ruff.lint]
select = ["E", "F", "W", "I"]
[dependency-groups]
dev = [
"opencv-python>=4.5",
"scikit-image>=0.20",
"scipy>=1.7",
"ty",
"pytest>=8.4.2",
"pytest-cov>=7.0.0",
"ruff>=0.15.6",
]