From 62f67611af78b541ebe251060b1f75738adcc9da Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Sat, 17 Oct 2009 06:39:47 +0200 Subject: [PATCH] Expand OpenCV installation instructions. --- scikits/image/opencv/INSTALL.txt | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/scikits/image/opencv/INSTALL.txt b/scikits/image/opencv/INSTALL.txt index ab57c604..2ddc1e15 100644 --- a/scikits/image/opencv/INSTALL.txt +++ b/scikits/image/opencv/INSTALL.txt @@ -2,7 +2,21 @@ You can use the setup.py in this directory to build ONLY the OpenCV stuff. It is recommend that you use the main setup.py for the entire scikit. -python setup.py install +To install globally:: + + python setup.py install + +To install locally:: + + python setup.py install --prefix=${HOME} + + # Remember to add /home/user/lib/python2.x/lib/site-packages + # to your PYTHONPATH + +To compile in-place:: + + python setup.py build_ext -i +