Skip to content

minisparrow/pybind11-simple

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple Demo use pybind11

Usage

1. git clone

git clone https://github.com/minisparrow/pybind11-simple
git submodule update --init --recursive 

2. a virtual environment for your special python version lib

python3.8 -m venv env38
source env38/bin/activate 

3. build library

 mkdir build 
 cmake .. && make  

4. python test

cd ..
source source.sh
python test.py

About

a demo for export cpp functions to python

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published