-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpyproject.toml
More file actions
96 lines (85 loc) · 2.25 KB
/
Copy pathpyproject.toml
File metadata and controls
96 lines (85 loc) · 2.25 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
93
94
95
96
[build-system]
requires = ["setuptools>=64.0"]
build-backend = "setuptools.build_meta"
[project]
name = "cubic"
dynamic = ["version"]
description = "CUDA-accelerated 3D BioImage Computing"
readme = "README.md"
requires-python = ">=3.10"
license = { text = "MIT" }
authors = [
{ name = "Alexandr Kalinin", email = "alxndrkalinin@gmail.com" }
]
dependencies = [
"numpy>=1.20.0",
# >=0.25 for morphology.footprint_rectangle, which replaces square/cube
# (removed in 0.27) and is the only variant cuCIM provides.
"scikit-image>=0.25",
]
classifiers = [
"Development Status :: 4 - Beta",
"License :: OSI Approved :: MIT License",
"Intended Audience :: Developers",
"Intended Audience :: Science/Research",
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
"Programming Language :: Python :: 3.12",
"Topic :: Software Development :: Libraries",
"Topic :: Software Development :: Libraries :: Python Modules",
]
[project.urls]
Homepage = "https://github.com/alxndrkalinin/cubic"
Repository = "https://github.com/alxndrkalinin/cubic"
[project.optional-dependencies]
cellpose = [
"cellpose>=4.2.0",
"torch",
]
mesh = [
"trimesh>=3.3.0",
"rtree>=1.0", # trimesh curvature: mesh.face_adjacency_tree
]
plot = [
"matplotlib>=3.5",
]
examples = [
"jupyter",
"pooch",
]
dev = [
"ruff",
"mypy",
"pooch",
"pytest",
"pre-commit",
]
all = [
"cubic[cellpose]",
"cubic[mesh]",
"cubic[plot]",
"cubic[examples]",
"cubic[dev]",
]
[tool.setuptools.dynamic]
version = { attr = "cubic.__version__" }
[tool.setuptools.packages.find]
exclude = ["examples*"]
[tool.mypy]
python_version = "3.10"
[tool.ruff]
exclude = ["examples/scripts/*.py"]
[tool.ruff.lint]
# "F" (pyflakes) catches unused imports/variables, which previously accumulated
# unnoticed. Example notebooks are authored content, so they only get the
# import-order and docstring rules.
select = ["D", "F", "I"]
[tool.ruff.lint.per-file-ignores]
"examples/**/*.ipynb" = ["F401", "F541"]
[tool.ruff.lint.pydocstyle]
convention = "numpy"
[tool.ruff.lint.isort]
length-sort = true