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
- Host: GitHub
- URL: https://github.com/arttet/boost-python-examples
- Owner: arttet
- License: mit
- Created: 2019-10-20T13:37:39.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-10-20T14:18:54.000Z (over 5 years ago)
- Last Synced: 2025-01-17T19:33:47.373Z (5 months ago)
- Topics: boost, cplusplus, python3
- Language: C++
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# boost-python-examples
[](https://travis-ci.org/arttet/boost-python-examples)
[](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
```