File: pyproject.toml

package info (click to toggle)
python-imageio 2.37.3-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 2,684 kB
  • sloc: python: 26,302; makefile: 138
file content (191 lines) | stat: -rw-r--r-- 4,614 bytes parent folder | download
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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
[build-system]
requires = ["setuptools>=61.0", "wheel"]
build-backend = "setuptools.build_meta"

[project]
name = "ImageIO"
version = "2.37.3"
authors = [
    {name = "ImageIO contributors"}
]
maintainers = [
    {name = "Sebastian Wallkotter", email = "sebastian@wallkoetter.net"},
    {name = "Almar Klein", email = "almar.klein@gmail.com"},
]
dynamic = ["readme"]
description = "Read and write images and video across all major formats. Supports scientific and volumetric data."

license = "BSD-2-Clause"
license-files = ["LICENSE"]
requires-python = ">=3.10"
dependencies = [
    "numpy",
    "pillow>=8.3.2",  # pinned to > 8.3.2 due to security vulnerability (GHSA-98vv-pw6r-q6q4)
]
keywords = [
    "image", 
    "video", 
    "imread", 
    "imwrite", 
    "io", 
    "animation", 
    "ffmpeg",
    "image processing",
    "numpy",
    "format conversion",
    "scientific imaging",
    "medical imaging",
    "volumetric",
    "video encoding",
    "multimedia",
    "gif",
    "tiff",
    "png",
    "jpeg"
]
classifiers = [
    "Development Status :: 5 - Production/Stable",
    "Intended Audience :: Science/Research",
    "Intended Audience :: Education",
    "Intended Audience :: Developers",
    "Operating System :: MacOS :: MacOS X",
    "Operating System :: Microsoft :: Windows",
    "Operating System :: POSIX",
    "Programming Language :: Python :: 3",
    "Programming Language :: Python :: 3.10",
    "Programming Language :: Python :: 3.11",
    "Programming Language :: Python :: 3.12",
    "Programming Language :: Python :: 3.13",
    "Programming Language :: Python :: 3.14",
]

[project.urls]
homepage = "https://github.com/imageio/imageio"
download = "http://pypi.python.org/pypi/imageio"
source = "https://github.com/imageio/imageio"
documentation = "https://imageio.readthedocs.io"

[project.scripts]
imageio_download_bin = "imageio.__main__:download_bin_main"
imageio_remove_bin = "imageio.__main__:remove_bin_main"

[project.optional-dependencies]
# Plugin dependencies
bsdf = []
dicom = []
feisem = []
ffmpeg = ["imageio-ffmpeg", "psutil"]
freeimage = ["fsspec[http]"]
lytro = []
numpy = []
pillow-heif = ["pillow-heif"]
pillow = []
simpleitk = []
spe = []
swf = []
tifffile = ["tifffile"]

# CPython-only plugins
pyav = ["av"]
fits = ["astropy"]
rawpy = ["rawpy", "numpy>2"]

# Other extras
gdal = ["gdal"]  # gdal currently fails to install :(
itk = ["itk"]  # itk builds from source (expensive on CI).

# Development and testing
linting = ["black", "flake8"]
test = ["pytest", "pytest-cov", "fsspec[github]"]
docs = ["sphinx<6", "numpydoc", "pydata-sphinx-theme"]

# Combined extras
dev = [
    "pytest",
    "pytest-cov",
    "fsspec[github]",
    "black",
    "flake8",
]
all-plugins = [
    "av",
    "astropy",
    "fsspec[http]",
    "imageio-ffmpeg",
    "numpy>2",
    "pillow-heif",
    "psutil",
    "rawpy",
    "tifffile",
]
all-plugins-pypy = [
    "fsspec[http]",
    "imageio-ffmpeg",
    "pillow-heif",
    "psutil",
    "tifffile",
]
full = [
    "astropy",
    "av",
    "black",
    "flake8",
    "fsspec[github,http]",
    "imageio-ffmpeg",
    "numpydoc",
    "numpy>2",
    "pillow-heif",
    "psutil",
    "pydata-sphinx-theme",
    "pytest",
    "pytest-cov",
    "rawpy",
    "sphinx<6",
    "tifffile",
]

[tool.setuptools]
zip-safe = false
packages = ["imageio", "imageio.core", "imageio.plugins", "imageio.config"]

[tool.setuptools.dynamic]
readme = {file = ["README.md"]}

[tool.setuptools.package-data]
imageio = ["py.typed", "**/*.pyi", "*.pyi"]

[tool.pytest.ini_options]
pythonpath = ["."]

[tool.flake8]
# Note: flake8 doesn't natively support pyproject.toml
# This section is here for documentation; you may need to keep setup.cfg
# or use a tool like flake8-pyproject or switch to ruff
max-line-length = 88
extend-ignore = ["E203", "W503", "E501"]
exclude = [".venv/"]

[tool.semantic_release]
commit_parser = "conventional"
version_toml = [ "pyproject.toml:project.version" ]
commit_message = "REL: Release imageio v{version}"
build_command = "pip install build &&python -m build"
remove_dist = false

[tool.semantic_release.branches.main]
match = "master"
prerelease = false

[tool.semantic_release.commit_parser_options]
allowed_tags = ["API", "BUG", "FIX", "DOC", "MAINT", "REL", "FEAT", "TEST"]
minor_tags = ["FEAT"]
patch_tags = ["BUG", "FIX"]
other_allowed_tags = ["DOC", "MAINT", "TEST"]
parse_squash_commits = false

[tool.semantic_release.changelog]
insertion_flag = "<!--next-version-placeholder-->"

[tool.semantic_release.commit_author]
env = "GIT_COMMIT_AUTHOR"
default = "Sebastian Wallkotter <sebastian@wallkoetter.net>"