Skip to content

ctriley/boost-python-hello-world

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

boost-python-hello-world

Boost Python Hello World for Cmake 3.12+

Installation

Requirements

On macOS

brew install python3 cmake boost boost-python3

On Ubuntu / Debian

sudo apt install python3 python3-dev cmake libboost-all-dev

Build steps

mkdir build
cd build && cmake .. && make 

Usage

cd build
python3

In the python shell

> import greet_ext
> greet_ext.greet()

Notes

Has been tested on Intel and Apple Silicon Macs on macOS 12.1, as well as Ubuntu 20.04LTS.

About

Boost Python Hello World for Cmake 3.12+

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published