added a bash script for build to holdover until a setup.py solution

This commit is contained in:
sccolbert
2009-10-12 19:12:00 +02:00
parent 14f588e0fa
commit 1076de0949
2 changed files with 14 additions and 0 deletions
+11
View File
@@ -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 *!
+3
View File
@@ -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