-
Notifications
You must be signed in to change notification settings - Fork 56
/
pyproject.toml
96 lines (88 loc) · 2.12 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
[build-system]
build-backend = "setuptools.build_meta"
requires = ["setuptools", "wheel"]
[project]
name = "gunpowder"
description = "A library to facilitate machine learning on large, multi-dimensional images."
authors = [
{ name = "Jan Funke", email = "[email protected]" },
{ name = "William Patton", email = "[email protected]" },
{ name = "Renate Krause" },
{ name = "Julia Buhmann" },
{ name = "Rodrigo Ceballos Lentini" },
{ name = "William Grisaitis" },
{ name = "Chris Barnes" },
{ name = "Caroline Malin-Mayor" },
{ name = "Larissa Heinrich" },
{ name = "Philipp Hanslovsky" },
{ name = "Sherry Ding" },
{ name = "Andrew Champion" },
{ name = "Arlo Sheridan" },
{ name = "Constantin Pape" },
]
license = { text = "MIT" }
readme = "README.md"
dynamic = ["version"]
classifiers = ["Programming Language :: Python :: 3"]
keywords = []
requires-python = ">=3.9"
dependencies = [
"numpy>=1.24",
"scipy>=1.6",
"h5py>=3.10",
"scikit-image",
"requests",
"augment-nd>=0.1.3",
"tqdm",
"funlib.geometry>=0.3",
"zarr",
"networkx>=3.1",
"funlib.persistence>=0.5",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"flake8",
"mypy",
"types-requests",
"types-tqdm",
"black",
"ruff",
]
docs = [
"sphinx",
"sphinx_rtd_theme",
"sphinx_togglebutton",
"tomli",
"jupyter_sphinx",
"ipykernel",
"matplotlib",
"torch",
]
pytorch = ['torch']
tensorflow = [
# TF doesn't provide <2.0 wheels for py>=3.8 on pypi
'tensorflow<2.0; python_version<"3.8"', # https://stackoverflow.com/a/72493690
'protobuf==3.20.*; python_version=="3.7"',
]
jax = [
'jax',
'jaxlib',
'haiku',
'optax',
]
full = [
'torch',
'tensorflow<2.0; python_version<"3.8"',
'protobuf==3.20.*; python_version=="3.7"',
]
[tool.setuptools.dynamic]
version = { attr = "gunpowder.version_info.__version__" }
[tool.black]
target_version = ['py38', 'py39', 'py310']
[tool.setuptools.packages.find]
include = ["gunpowder*"]
[tool.ruff]
# pyflakes, pycodestyle, isort
select = ["F", "E", "W", "I001"]