Coder Social home page Coder Social logo

volumina's Introduction

Volumina - Volume Slicing and Editing Library

Build Status Build status Code style: black

Installing

First, test volumina

$ python setup.py nosetests

and then install:

$ python setup.py 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

$ ./install-development-reqs-virtualenv-ubuntu.sh

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/sip.so
 $ ln -s /usr/lib/python2.7/dist-packages/sipdistutils.py
 $ ln -s /usr/lib/python2.7/dist-packages/sipconfig.py
 $ ln -s /usr/lib/python2.7/dist-packages/sipconfig_nd.py
  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

volumina's People

Contributors

stuarteberg avatar kemaleren avatar ilastikdev avatar cstraehl avatar jakirkham avatar k-dominik avatar akreshuk avatar nielsbuwen avatar limpingtwerp avatar m-novikov avatar opetra avatar chaubold avatar ericheim avatar burcin avatar njase avatar bheuer avatar paulhfu avatar christophdecker avatar fynnbe avatar jensnrad avatar burgerdev avatar ilastik-bot avatar jaimeivancervantes avatar ukoethe avatar wolny avatar fredhamprecht avatar holstgr-kaust avatar nkrasows avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.