-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup.py
50 lines (48 loc) · 1.66 KB
/
setup.py
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
import setuptools
zarr = ["ome-zarr>=0.9.0"]
openslide = ["openslide-python"]
tiff = ["tifffile", "imagecodecs"]
cloud = ["tiledb-cloud"]
full = sorted({*zarr, *openslide, *tiff})
setuptools.setup(
setup_requires=["setuptools_scm"],
use_scm_version={
"version_scheme": "guess-next-dev",
"local_scheme": "dirty-tag",
"write_to": "tiledb/bioimg/version.py",
},
install_requires=[
"pyeditdistance",
"tiledb>=0.19",
"tqdm",
"scikit-image",
"jsonpickle",
"requires",
],
extras_require={
"zarr": zarr,
"openslide": openslide,
"tiff": tiff,
"cloud": cloud,
"full": full,
},
entry_points={
"bioimg.readers": [
"tiff_reader = tiledb.bioimg.converters.ome_tiff:OMETiffReader",
"zarr_reader = tiledb.bioimg.converters.ome_zarr:OMEZarrReader",
"osd_reader = tiledb.bioimg.converters.openslide:OpenSlideReader",
"png_reader = tiledb.bioimg.converters.png.PNGReader",
],
"bioimg.writers": [
"tiff_writer = tiledb.bioimg.converters.ome_tiff:OMETiffWriter",
"zarr_writer = tiledb.bioimg.converters.ome_tiff:OMEZarrWriter",
"png_writer = tiledb.bioimg.converters.png.PNGWriter",
],
"bioimg.converters": [
"tiff_converter = tiledb.bioimg.converters.ome_tiff:OMETiffConverter",
"zarr_converter = tiledb.bioimg.converters.ome_zarr:OMEZarrConverter",
"osd_converter = tiledb.bioimg.converters.openslide:OpenSlideConverter",
"png_converter = tiledb.bioimg.converters.png:PNGConverter",
],
},
)