Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install xbob.buildout

How to install xbob.buildout

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install xbob.buildout
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
0.3.0 Available View build log
Linux (32-bit)
0.3.0 Available View build log
0.1.4 Available View build log
0.1.1 Available View build log
Linux (64-bit)
0.3.0 Available View build log
0.1.4 Available View build log
0.1.1 Available View build log
0.3.0 Available View build log
 
Author
License
GPLv3
Dependencies
Imports
Lastest release
version 0.3.0 on Aug 14th, 2013

This package contains a number of recipes to be used to build Satellite Packages for Bob, a signal-processing and machine learning toolbox originally developed by the Biometrics Group at Idiap, in Switzerland.

Note

You normally don't need to download this package directly. It will be done by zc.buildout automatically, if you followed our recipe to build Satellite Packages.

C++/Python Package Builder

This recipe can build C++/Python extensions that link against Bob using pkg-config. This recipe will look at the buildout section entry called prefixes, that potentially lists prefixes that should be prepended to the default pkg-config environment:

[mycxx]
recipe = xbob.buildout:develop

This recipe also, indirectly, generates a python interpreter named (by default) xpython.builder. This program allows you to build the package using installed or development eggs. Our build therefore by-passes the normal package building via setuptools/distribute and use buildout for finding the eggs which are required for the build. Note this has nothing to do with package use, for which you can use the recipes below.

Supported Options
debug
If set, the module will be compiled with debugging symbols and with optimization turned off.
eggs
The eggs option specifies a list of eggs to use for building this package. Each string must be given on a separate line. If you don't specify anything, at least xbob.extension is included. Otherwise, we will add that one to your list, if not yet available.
interpreter
The name of the interpreter that is generated for building this package. If you don't set it, it is by default called xpython.builder.
buildout.prefixes
A list of directories where this recipe will look for subdirectories with the stem lib/pkgconfig. All directories matching this condition are appended to the pkg-config environment using the environment variable PKG_CONFIG_PATH.

Multi-Script Installer

This recipe installs all most used scripts and interpreter proxies for your package. It will look at the buildout section entry called prefixes, that potentially lists prefixes that should be prepended to the default python environment. In these prefixes, it will look for standard python directories. If one or more are found, these paths are prepended into the resulting scripts generated by this recipe and eggs will be searched on those locations prioritarily.

By default, this recipe will use the eggs defined at the buildout section called eggs, but that can be overriden locally. It generates these scripts:

python
A pre-configured python interpreter
ipython
If the package ipython is installed, a pre-configured ipython interpreter will also be created
nosetests
If the package nose is installed, a test runner called nosetests will be created on the bin directory of buildout.
sphinx- utils
If the package sphinx is installed, several sphinx utilities will be created on the bin directory of buildout.
package scripts
Package scripts will be created taking into account the prefixes established for this section or globally (as a second priority).

To use this recipe, you just have to simply do:

[scripts]
recipe = xbob.buildout:scripts
Supported Options

The recipe supports the following options:

prefixes
A list of directories where this recipe will look for subdirectories with the stem lib/python*/site-packages. All directories matching this condition are appended to the search paths. If not given, the value of this property defaults to buildout.prefixes. Both can be empty, which makes this recipe default to using standard available paths.
eggs
The eggs option specifies a list of eggs to use for building this package. Each string must be given on a separate line. If not given, the value of this property defaults to buildout.eggs.
dependent-scripts
If set to the string true, scripts will be generated for all required eggs in addition to the eggs specifically named.
interpreter
The name of a script to generate that allows access to a Python interpreter that has the path set based on the eggs installed. If you don't specify anything, the default value python will be used.
extra-paths
Extra paths to be appended in a generated script. To prepend, using the prefixes entry.
nose-flags
These are extra flags that are appended to the given nosetests command line, automatically. Use this to preset arguments you like running all the time like -v, for example.

Other Recipes

This package also provides recipes that allow for the discrete installation of interpreters and support programs, lumped together with the scripts recipe described above. You can use some of the options described above with these recipes. For example, the prefixes, eggs and extra-paths are considered by all these recipes.

Note

Use of these individual recipes should be done with care. The scripts recipe should be used by default, unless you have a special requirement that is not covered by that recipe.

python
This recipe generates just a python interpreter on the binary directory. Extra options considered: interpreter.
ipython
This recipe generates an IPython interpreter on the binary directory. Extra options considered: interpreter.
egg.scripts
This recipe generates only the scripts (and dependent scripts) for the package. Extra options considered: dependent-scripts.
nose
This recipe generates only the nosetests program. Extra options considered are:nose-flags.
sphinx
This recipe generates only the Sphinx documentation generator applications. Extra options considered: none.

Subscribe to package updates

Last updated Aug 14th, 2013

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.