-
Notifications
You must be signed in to change notification settings - Fork 0
/
opencv.cfg
70 lines (55 loc) · 1.57 KB
/
opencv.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# OpenCV buildout with default python bindings
# ============================================
#
#
[buildout]
extends =
base.cfg
extensions =
buildout.dumppickedversions
dump-picked-versions-file = versions.cfg
parts =
zlib
# libjpeg
libpng
libtiff
# libjasper
# IlmImf
# libgstreamer
# libv4l
# libxine
# unicap
# libdc1394
# ffmpeg
# tbb
# qt
# ipp
# cuda
cvpy
cmake
opencv
[cvpy]
#environment = cvenv
recipe = zc.recipe.egg
eggs =
ipython
numpy
scripts = ipython=cvpy
#extra-paths = ${buildout:directory}/parts/opencv/build/lib
#initialization = import os;os.putenv('LD_LIBRARY_PATH','${buildout:directory}/parts/opencv/build/lib')
#rpath = ${buildout:directory}/parts/opencv/build/lib
[cvenv]
LD_LIBRARY_PATH=${buildout:directory}/parts/opencv/build/lib
[cmake]
recipe = hexagonit.recipe.cmmi
url = ${downloads:cmake}
[opencv]
recipe = hexagonit.recipe.cmmi
url = ${downloads:opencvstable}
configure-command = ${buildout:directory}/parts/cmake/bin/cmake \
-D CMAKE_BUILD_TYPE=RELEASE \
-D CMAKE_INSTALL_PREFIX=${buildout:directory}/parts/opencv/build \
# -D WITH_TBB=ON \
# -D TBB_INCLUDE_DIR=${buildout:directory}/parts/tbb \
-D BUILD_NEW_PYTHON_SUPPORT=ON \
-D PYTHON_EXECUTABLE=${buildout:directory}/bin/cvpy .