diff --git a/scikits/image/opencv/INSTALL.txt b/scikits/image/opencv/INSTALL.txt new file mode 100644 index 00000000..f142522e --- /dev/null +++ b/scikits/image/opencv/INSTALL.txt @@ -0,0 +1,11 @@ +Until we come to a solution for a setup.py, execute the included shell script build.sh + +scikit/image/opencv$./build.sh +scikit/image/opencv$cd tests +scikit/image/opencv/tests$python test_opencv_cv.py + +!* make sure the scikits directory is on the python path *! + + + + diff --git a/scikits/image/opencv/build.sh b/scikits/image/opencv/build.sh new file mode 100755 index 00000000..525692a9 --- /dev/null +++ b/scikits/image/opencv/build.sh @@ -0,0 +1,3 @@ +#!/bin/bash + +cython opencv_backend.pyx && cython opencv_cv.pyx && gcc -shared -pthread -fPIC -fwrapv -O2 -Wall -fno-strict-aliasing -I/usr/include/python2.6 -o opencv_backend.so opencv_backend.c && gcc -shared -pthread -fPIC -fwrapv -O2 -Wall -fno-strict-aliasing -I/usr/include/python2.6 -o opencv_cv.so opencv_cv.c