Go to file
2017-06-02 19:31:54 -04:00
.ci Install documentation for development branch separately. 2016-10-07 18:17:43 -04:00
build Fix typo. 2017-03-28 12:54:05 -04:00
config Adjust NumPy code to work with new directory / namespace structure. 2016-10-08 13:34:17 -04:00
doc exec/eval(): add overloads for char const* 2017-05-04 19:29:56 -04:00
example Clean up examples. 2016-10-23 21:34:16 -04:00
include/boost Require NumPy 1.7 API. 2017-06-02 19:31:54 -04:00
meta More documentation cleanup. 2015-08-05 07:14:37 -04:00
src Require NumPy 1.7 API. 2017-06-02 19:31:54 -04:00
test Rename test source 2017-06-02 19:31:54 -04:00
.gitattributes This commit was generated by cvs2svn to compensate for changes in r711, 2000-11-26 15:49:26 +00:00
.gitignore Merge NumPy extension from https://github.com/ndarray/Boost.NumPy/. 2016-10-07 20:03:12 -04:00
.travis.yml Adjust NumPy code to work with new directory / namespace structure. 2016-10-08 13:34:17 -04:00
appveyor.yml Fix Windows builds. 2017-03-24 15:39:13 -04:00
index.html Install documentation for development branch separately. 2016-10-07 18:17:43 -04:00
LICENSE_1_0.txt Add license file and license header to source files. 2012-09-26 00:33:10 -04:00
README.md Minor doc touch-ups. 2016-10-09 00:02:39 -04:00
SConstruct Fix Windows builds. 2017-03-24 15:39:13 -04:00
todo.txt add tuple conversion 2006-01-31 03:26:46 +00:00

logo

Synopsis

Welcome to Boost.Python, a C++ library which enables seamless interoperability between C++ and the Python programming language. The library includes support for:

  • References and Pointers
  • Globally Registered Type Coercions
  • Automatic Cross-Module Type Conversions
  • Efficient Function Overloading
  • C++ to Python Exception Translation
  • Default Arguments
  • Keyword Arguments
  • Manipulating Python objects in C++
  • Exporting C++ Iterators as Python Iterators
  • Documentation Strings

See the Boost.Python documentation for details.

Hint : Check out the development version of the documentation to see work in progress.

Building Build Status

While Boost.Python is part of the Boost C++ Libraries super-project, and thus can be compiled as part of Boost, it can also be compiled and installed stand-alone, i.e. against a pre-installed Boost package.

Prerequisites

Configure

Simply run

scons config [options]

to prepare a build. See scons -h for a description of the available options. For example

scons config --boost=/path/to/boost --python=/path/to/python

will configure Boost.Python to be built against the two specific versions of Boost and Python.

Build

Run

scons

to build the library.

Test

Run

scons test

to run the tests.

Build docs

Run

scons doc

to build the documentation.