We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 51cfac0 commit c943f74Copy full SHA for c943f74
setup.py
@@ -25,7 +25,6 @@
25
"dataclasses; python_version < '3.7'",
26
"matplotlib",
27
"numpy",
28
- "opencv-python",
29
"requests",
30
"scikit-image",
31
]
@@ -46,6 +45,12 @@
46
45
"docs": ["sphinx>=1.3", "sphinx-bluebrain-theme"],
47
}
48
+try:
49
+ # Could already be installed on the system
50
+ import cv2 # noqa
51
+except ImportError:
52
+ install_requires.append("opencv-python")
53
+
54
description = "Search, download, and prepare atlas data."
55
long_description = """
56
Among different sources of data, Allen Brain Institute
0 commit comments