Skip to content
Go to file

Latest commit


Git stats


Failed to load latest commit information.
Latest commit message
Commit time

Volumina - Volume Slicing and Editing Library

Build Status Build status Code style: black


First, test volumina

$ python nosetests

and then install:

$ python install

Developing with Volumina

In the following we assume an Ubuntu system.

After you entered a virtual environment you can automatically execute all the steps documented below by calling

$ ./

from the "requirements" directory in the volumina repository. Note, that we use distribute instead of setuptools. So, create your virtualenvs using mkvirtualenv --distribute.

  1. Virtual Python Environment

Make a new virtualenv for volumina

$ virtualenv --distribute voluminave/

and activate it

$ source voluminave/bin/activate
  1. Linking to PyQt and Sip

Installing PyQt/Sip via pip is currently (May 2012) broken. Therefore install the development versions of Qt4, Sip, and PyQt4 globally and link them into the virtual environment:

 $ cd voluminave/lib/python2.7/site-packages/ 
 $ ln -s /usr/lib/python2.7/dist-packages/PyQt4/
 $ ln -s /usr/lib/python2.7/dist-packages/
 $ ln -s /usr/lib/python2.7/dist-packages/
 $ ln -s /usr/lib/python2.7/dist-packages/
 $ ln -s /usr/lib/python2.7/dist-packages/
  1. Building the development requirements

Make sure that g++ is installed on your system besides the usual gcc C++/C development toolchain. qimage2ndarray depends on numpy without requiring the dependency (as of June 2012). Therefore we need to install our requirements in a two stage procedure:

$ pip install -r requirements/development-stage1.txt
$ pip install -r requirements/development-stage2.txt
You can’t perform that action at this time.