Skip to content
Browse files

Add Mac OS X PIL installation instructions

  • Loading branch information...
1 parent bbb1c2e commit 482e56c51ee69b27cc9d900eea7ec34ba4ec0221 @akavlie committed Jul 16, 2012
Showing with 16 additions and 2 deletions.
  1. +16 −2 docs/scenarios/imaging.rst
View
18 docs/scenarios/imaging.rst
@@ -35,8 +35,22 @@ Ubuntu 11.04
Installing on Mac OS X
~~~~~~~~~~~~~~~~~~~~~~
-.. todo::
- Notes on installing on Mac OS X
+PIP doesn't know about the Mac OS X Freetype paths. To rectify that:
+
+.. code-block:: bash
+
+ $ ln -s /usr/X11/include/freetype2 /usr/local/include/
+ $ ln -s /usr/X11/include/ft2build.h /usr/local/include/
+ $ ln -s /usr/X11/lib/libfreetype.6.dylib /usr/local/lib/
+ $ ln -s /usr/X11/lib/libfreetype.6.dylib /usr/local/lib/libfreetype.dylib
+
+then:
+
+.. code-block:: bash
+
+ $ brew install libjpeg
+ $ pip install PIL
+
Installing on Windows
~~~~~~~~~~~~~~~~~~~~~

0 comments on commit 482e56c

Please sign in to comment.
Something went wrong with that request. Please try again.