forked from funkelab/gunpowder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpyproject.toml
60 lines (53 loc) · 1.26 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
[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 = "funkej@hhmi.org"},
{name = "William Patton", email = "pattonw@hhmi.org"},
]
license = {text = "MIT"}
readme = "README.md"
dynamic = ["version"]
classifiers = [
"Programming Language :: Python :: 3",
]
keywords = []
requires-python = ">=3.7"
dependencies = [
"numpy",
"scipy",
"h5py",
"scikit-image",
"requests",
"augment-nd>=0.1.3",
"tqdm",
"funlib.geometry",
"zarr",
"networkx",
]
[project.optional-dependencies]
dev = [
"pytest",
"pytest-cov",
"flake8",
]
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"',
]
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 = ['py36', 'py37', 'py38', 'py39', 'py310']
[tool.setuptools.packages.find]
include = ["gunpowder*"]