Skip to main content

A recipe to build pybsddb

Project description

.. 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'.
<BLANKLINE>



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
********

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

koansys.recipe.pybsddb-1.0.1.tar.gz (5.3 kB view hashes)

Uploaded Source

Built Distributions

koansys.recipe.pybsddb-1.0.1-py2.5.egg (9.1 kB view hashes)

Uploaded Source

koansys.recipe.pybsddb-1.0.1-py2.4.egg (9.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page