Skip to content
Snippets Groups Projects
Commit f830bb70 authored by André Anjos's avatar André Anjos :speech_balloon:
Browse files

Print if OpenCV python is available

parent ee8424ec
No related branches found
No related tags found
No related merge requests found
......@@ -283,8 +283,10 @@ intersphinx_mapping = {
try:
import cv2
has_opencv = True
print("OpenCV python module is installed - running full doctest suite")
except ImportError:
has_opencv = False
print("OpenCV python module is *NOT* installed - skipping parts")
def setup(app):
app.add_config_value('has_opencv', has_opencv, 'html')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment