This page gives the steps for installing the MapFish framework with pip in a distribute-based virtual environment.

setuptools is currently being replace by distribute. Likewise, pip is more and more used as a replacement to easy_install.

The steps:

  1. download and a recent version of virtualenv
$ cd /tmp
$ wget http://pypi.python.org/packages/source/v/virtualenv/virtualenv-1.4.3.tar.gz
$ tar xvzf virtualenv-1.4.3.tar.gz
  1. create a disribute-based virtual environment
$ python virtualenv-1.4.3/virtualenv.py --no-site-packages --distribute env
  1. activate the virtual environment
$ source env/bin/activate
  1. install MapFish
(env) $ pip install mapfish