Bob is not found at the correct place

Created by: siebenkopf

When using the latest xbob.buildout version, we get an issue with using Bob other than from the default installation. The problem description is as follows:

  1. create a buildout.cfg without bob as an egg
  2. write your prefix, e.g. as: prefixes = /idiap/group/torch5spro/releases/bob-1.1.2/install/linux-x86_64-release/lib
  3. run bin/buildout

And you will end up with bob version 1.1.1 (as the one installed globally): $ bin/python

import bob bob.version 1.1.1

The problem seems to be that the prefixes is added at the end of the import list. A work-around is to add bob as the first entry in the buildout.cfg eggs list. Only then, the correct path of bob is the first entry.

Two notes:

  1. This problem seems not to occur when you use the mr.developer extension.
  2. Even if you specify that you want to get bob in version 1.1.2, you will end up with 1.1.1.

Without note 2, I would consider this as an inconvenience, but like that this is a more severe bug.

@André: After the discussion in this evening, I assigned you to solve it. Please feel free to re-distribute :)