skip to navigation
skip to content

koansys.recipe.pybsddb 1.0.1

A recipe to build pybsddb

Downloads ↓

.. contents::


- Code repository: http://koansys-recipe-pybsddb.googlecode.com/svn/
- Report bugs at http://code.google.com/p/koansys-recipe-pybsddb/issues/list


Detailed Documentation
**********************

Supported options
=================

The recipe supports the following options:

Options
-------

This recipe supports the same options as the pybsddb module in
setup2.py. It accepts the names of the environment variables as
variable names and then sets those that are defined so ``pybsddb`` can
find them at build time.


berkeleydb_incdir
    Set the include directory

berkeleydb_libdir
    Set the lib directory

berkeleydb_dir
    Set the root of the build. If it is built in the buildout,
    I.e. ${bdb:location} if the BerkeleyDB section is named bdb.

lflags
    Set some ``LFLAGS``

libs
    Set some ``LIBS``


Example usage
=============

I don't really understand the testing environment here so the below is broken.

We'll start by creating a buildout that uses the recipe::

    >>> write('buildout.cfg',
    ... """
    ... [buildout]
    ... parts = bsddb3
    ...
    ... [bdb]
    ... location = somdir
    ...
    ... [bsddb3]
    ... recipe = koansys.recipe.pybsddb
    ... berkeleydb_dir = ${bdb:location}
    ... """
Running the buildout gives us::

    >>> print 'start', system(buildout)
    start...
    Installing bsbddb.
    Unused options for test1: 'option2' 'option1'.
    



Contributors
************

Koansys, LLC, Authors

Reed L. O'Brien



Change history
**************

1.0 (2008-10-18)
==================

 - Created recipe with ZopeSkel [Koansys, LLC].
 - Initial version working (for me)

Download
********
 
File Type Py Version Uploaded on Size # downloads
koansys.recipe.pybsddb-1.0.1-py2.4.egg (md5) Python Egg 2.4 2008-10-19 8KB 799
koansys.recipe.pybsddb-1.0.1-py2.5.egg (md5) Python Egg 2.5 2008-10-19 8KB 911
koansys.recipe.pybsddb-1.0.1.tar.gz (md5) Source 2008-10-19 5KB 542