-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathpyproject.toml
95 lines (85 loc) · 2.71 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
[build-system]
requires = ["setuptools>=61.2"]
build-backend = "setuptools.build_meta"
[project]
name = "imglyb"
version = "2.1.1.dev0"
description = "A python module to bring together the worlds of NumPy (Python) and ImgLib2 (Java)."
license = {text = "Simplified BSD License"}
authors = [
{name = "Philipp Hanslovsky"},
{name = "Curtis Rueden", email = "[email protected]"},
{name = "Edward Evans"},
{name = "Mark Hiner"},
{name = "Gabriel Selzer"},
]
readme = "README.md"
keywords = ["java", "maven", "cross-language", "numpy", "imglib2"]
classifiers = [
"Development Status :: 5 - Production/Stable",
"Intended Audience :: Developers",
"Intended Audience :: Education",
"Intended Audience :: Science/Research",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"License :: OSI Approved :: BSD License",
"Operating System :: Microsoft :: Windows",
"Operating System :: Unix",
"Operating System :: MacOS",
"Topic :: Scientific/Engineering",
"Topic :: Scientific/Engineering :: Image Processing",
"Topic :: Scientific/Engineering :: Visualization",
"Topic :: Software Development :: Libraries :: Java Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
"Topic :: Utilities",
]
# NB: Keep this in sync with environment.yml AND dev-environment.yml!
requires-python = ">=3.8"
dependencies = [
"numpy",
"jpype1 >= 1.3.0",
"scyjava >= 1.3.0",
]
[project.optional-dependencies]
# NB: Keep this in sync with dev-environment.yml!
dev = [
"build",
"pytest",
"pre-commit",
"pytest-cov",
"ruff",
"toml",
"validate-pyproject[all]",
]
[project.urls]
homepage = "https://github.com/imglib/imglyb"
documentation = "https://github.com/imglib/imglyb/blob/main/README.md"
source = "https://github.com/imglib/imglyb"
download = "https://pypi.org/project/imglyb/"
tracker = "https://github.com/imglib/imglyb/issues"
[tool.setuptools]
package-dir = {"" = "src"}
include-package-data = false
[tool.setuptools.packages.find]
where = ["src"]
namespaces = false
# ruff configuration
[tool.ruff]
line-length = 88
src = ["src", "tests"]
include = ["pyproject.toml", "src/**/*.py", "tests/**/*.py"]
extend-exclude = ["bin", "build", "dist"]
[tool.ruff.lint]
extend-ignore = ["E203"]
[tool.ruff.lint.per-file-ignores]
# Ignore `E402` (import violations) in all `__init__.py` files, and in `path/to/file.py`.
"__init__.py" = ["E402", "F401"]
[tool.pytest.ini_options]
addopts = "--ignore=docs"
testpaths = [
"tests",
]