From 9c8e265b76235bd5457139f721d1850f3a6796c1 Mon Sep 17 00:00:00 2001 From: jevans Date: Mon, 24 Jun 2013 20:13:54 -0400 Subject: [PATCH] Added Raspberry Pi instructions. --- docs/source/detailed_installation.rst | 28 +++++++++++++++++++++++++-- 1 file changed, 26 insertions(+), 2 deletions(-) diff --git a/docs/source/detailed_installation.rst b/docs/source/detailed_installation.rst index 1771722..f433bb4 100644 --- a/docs/source/detailed_installation.rst +++ b/docs/source/detailed_installation.rst @@ -56,6 +56,30 @@ repositories:: $ pip-python3 install Pillow --user $ export PYTHONPATH=$HOME/.local/lib/python3.3/site-packages:$PYTHONPATH +Raspbian +'''''''' +Yeah, this was the first thing I tried after getting my new Raspberry Pi hooked +up. This doesn't seem like the sort of thing that the Raspberry Pi was built +for, as it took nearly an hour just to run the OpenJPEG tests, but still, I +couldn't help myself but give it a try :-) +Raspbian ships with Python 3.2 and 2.7, so these steps detail working with 2.7. + +Additional required OS packages include:: + + * python-pip + * python-pkg-resources + * python-mock + +You must install contextlib2 via pip, and then you can run at least +a minimal number of tests. To attempt to run more of the tests, +install the following debs:: + + * python-dev + * python-matplotlib + +and then install Pillow via pip. The tests take about 20 minutes to run, with +one unexpected failure as of the time of writing. + Fedora 17 ''''''''' Fedora 17 ships with Python 3.2 and 2.7, so these steps detail working with @@ -77,8 +101,8 @@ combinations of RPMs / Python packages is installed. * scikit-image and either Pillow or freeimage * matplotlib and Pillow -scikit-image is not available in the Fedora 17 default repositories, but -it may be installed via pip:: +scikit-image was not available in the Fedora 17 default repositories, but +it was installable via pip:: $ yum install Cython # pip needs this in order to compile scikit-image $ yum install python-devel # pip needs this in order to compile scikit-image