changeset 164:ed61511b9ec2

install docs: installing pil with jpeg support
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Tue, 05 Apr 2011 11:03:47 +0200
parents 86642382d6c6
children 76430561b75b
files docs/admin/install.rst
diffstat 1 files changed, 20 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/docs/admin/install.rst	Tue Mar 22 21:26:16 2011 -0700
+++ b/docs/admin/install.rst	Tue Apr 05 11:03:47 2011 +0200
@@ -51,6 +51,26 @@
 directory, it will run everything from your work dir, so you can modify code
 and directly try it out (you only need to do this installation procedure once).
 
+Installing PIL
+~~~~~~~~~~~~~~
+For some image processing functions (like resizing, rotating) of moin, you
+need PIL (Python Imaging Library). If you install it with pip, it'll try to
+find some jpeg support library and development headers on your system and
+in case you don't have that, there will be no jpeg support in PIL.
+
+So, if you want jpeg support, make sure you have the jpeg libs/headers::
+
+ # install jpeg library and dev. headers (ubuntu / debian)
+ sudo apt-get install libjpeg62-dev
+
+Now install PIL into your virtual environment::
+
+ # enter your virtual environment:
+ source env/bin/activate
+
+ # install Python Imaging Library:
+ pip install pil
+
 Troubleshooting
 ~~~~~~~~~~~~~~~
 If you have a bad or limited network connection, you may run into trouble