use opencv-python module on linux

This commit is contained in:
ingvar1995 2018-01-26 18:43:19 +03:00
parent 62c5df751d
commit bb2a857ecf
3 changed files with 7 additions and 3 deletions

View file

@ -25,6 +25,10 @@ else:
import numpy
except ImportError:
MODULES.append('numpy')
try:
import cv2
except ImportError:
MODULES.append('opencv-python')
class InstallScript(install):