Skip to content

Commit

Permalink
Merge pull request #797 from girder/refactor-nd2
Browse files Browse the repository at this point in the history
Refactor the nd2 source to use the nd2 library.
  • Loading branch information
manthey authored Mar 18, 2022
2 parents 72c92ed + b262aec commit 42a298b
Show file tree
Hide file tree
Showing 6 changed files with 141 additions and 188 deletions.
6 changes: 5 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import itertools
import os
import sys

from setuptools import setup

Expand All @@ -21,14 +22,17 @@
'gdal': ['large-image-source-gdal'],
'mapnik': ['large-image-source-mapnik'],
'multi': ['large-image-source-multi'],
'nd2': ['large-image-source-nd2'],
'ometiff': ['large-image-source-ometiff'],
'openjpeg': ['large-image-source-openjpeg'],
'openslide': ['large-image-source-openslide'],
'pil': ['large-image-source-pil'],
'test': ['large-image-source-test'],
'tiff': ['large-image-source-tiff'],
}
if sys.version_info >= (3, 7):
sources.update({
'nd2': ['large-image-source-nd2'],
})
extraReqs.update(sources)
extraReqs['sources'] = list(set(itertools.chain.from_iterable(sources.values())))
extraReqs['all'] = list(set(itertools.chain.from_iterable(extraReqs.values())))
Expand Down
Loading

0 comments on commit 42a298b

Please sign in to comment.