More notes about installation

With luck you won’t even need to refer to this, but just in case, here it is.

The Arkestra applications

Arkestra is a collection of applications, each of which needs to be put on your PYTHONPATH (Arkestra’s setup.py should do this for you):

  • arkestra_image_plugin
  • arkestra_utilities
  • contacts_and_people
  • housekeeping
  • links
  • news_and_events
  • vacancies_and_studentships
  • video

Other components

Akestra requires installation of various components (Arkestra’s setup.py should do this for you). They include:

  • Django CMS
  • Django Filer
  • Django Widgetry
  • Semantic Presentation Editor
  • django-polymorphic
  • BeautifulSoup
  • django-typogrify
  • pyquery
  • easy-thumbnails
  • django-appmedia
  • PIL

pip freeze

This is what pip freeze reports, just for your information:

Pillow and PIL

Arkestra will install Pillow. It’ll work with PIL too, but Pillow is much easier to use with setuptools.

If you must use PIL

You can try pip install PIL, but it doesn’t always seem to work very well.

This is often because pip installs PIL from source, and if you don’t have the development packages (C headers) then it won’t compile it with support for all required file formats. Make sure you get the -dev packages first. On a Debian system doing apt-get install libjpg-dev libpng-dev before getting PIL via pip fixed a big problem with image uploads because thumbnails weren’t being generated.