use opencv-python module on linux
This commit is contained in:
parent
62c5df751d
commit
bb2a857ecf
3 changed files with 7 additions and 3 deletions
4
setup.py
4
setup.py
|
|
@ -25,6 +25,10 @@ else:
|
|||
import numpy
|
||||
except ImportError:
|
||||
MODULES.append('numpy')
|
||||
try:
|
||||
import cv2
|
||||
except ImportError:
|
||||
MODULES.append('opencv-python')
|
||||
|
||||
|
||||
class InstallScript(install):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue