An open API service indexing awesome lists of open source software.

https://github.com/arttet/boost-python-examples

Some examples for the use of boost::python
https://github.com/arttet/boost-python-examples

boost cplusplus python3

Last synced: 3 months ago
JSON representation

Some examples for the use of boost::python

Awesome Lists containing this project

README

        

# boost-python-examples

[![Build Status](https://travis-ci.org/arttet/boost-python-examples.svg?branch=master)](https://travis-ci.org/arttet/boost-python-examples)
[![Build status](https://ci.appveyor.com/api/projects/status/p9kv4kq0obj1x87q?svg=true)](https://ci.appveyor.com/project/arttet/boost-python-examples)

Some examples for the use of boost::python

## Installation

You can build and run this examples directly on your system.

You need the following libraries:
Boost,
Python (v3 minimum).

* Install dependencies, e.g. on Ubuntu:
```sh
sudo apt-get install build-essential cmake libboost-dev libboost-python-dev python3
```

* Download the source from GitHub with:

```sh
git clone --recursive https://github.com/arttet/boost-python-examples
```

Alternatively, if you already have the existing source tree use:
```sh
git clone https://github.com/arttet/boost-python-examples
git submodule update --init
```

* Run the following commands:

```sh
mkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Release ../
cmake --build .
ctest
```