mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-16 11:21:25 +08:00
added a bash script for build to holdover until a setup.py solution
This commit is contained in:
@@ -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 *!
|
||||
|
||||
|
||||
|
||||
|
||||
Executable
+3
@@ -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
|
||||
Reference in New Issue
Block a user