Building and Installing Divisi

Prerequisites

Follow the Common Installation Instructions before these instructions.

Dependencies

In addition to the common prerequisites, Divisi also needs NumPy.

On Ubuntu, you can get everything that Divisi needs with the command:

sudo apt-get install python-dev python-setuptools build-essential python-numpy

(If you’ve already done the prerequisites, the above is slightly and harmlessly redundant.)

Installing Divisi

Once you have this set up, installing Divisi should be as easy as:

sudo easy_install divisi

or in a virtual environment:

easy_install divisi

or on Windows:

python C:\Python25\Scripts\easy_install-2.5-script.py divisi

However, easy_installing on Windows is likely to fail unless you have the MinGW32 C compiler.

Windows .exe installer

Because it is difficult to set up a C compiler on Windows, we occasionally distribute compiled versions of Divisi for Windows as .exe files.

The latest .exe installer (version 0.6.8) requires Python 2.5 (not 2.6).

Alternative: development install

If you think you might want to hack on the Divisi source instead, get Bazaar and run:

bzr branch lp:divisi
cd divisi
python setup.py develop

See Setting up a CSC development environment for more information about Bazaar and the development process.

Table Of Contents

Previous topic

Divisi documentation

Next topic

Tutorial: Getting Started

This Page