Skip to content
Snippets Groups Projects
Commit d1e2c47d authored by Manuel Günther's avatar Manuel Günther
Browse files

Open CV is always required.

parent 0ef78fe5
No related branches found
No related tags found
No related merge requests found
......@@ -18,18 +18,9 @@ build_requires = load_requirements()
# Define package version
version = open("version.txt").read().rstrip()
packages = ['boost']
packages = ['boost', "opencv>=2.0"]
boost_modules = ['system']
# check if opencv is available
try:
from bob.extension import check_packages
pkg = check_packages(['opencv>=2.0'])
print("Found OpenCV libraries %s" % pkg[0].libraries())
packages.append('opencv>=2.0')
except RuntimeError as e:
print("OpenCV was not found, it will not be availabe during tests")
setup(
name="bob.ip.flandmark",
......
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