Skip to content

Latest commit

 

History

History
33 lines (26 loc) · 872 Bytes

README.md

File metadata and controls

33 lines (26 loc) · 872 Bytes

Compile ctypes demo

I didn't bother writing a proper build_ext for this so manual copy is required.

mkdir build
cd build
cmake .. && make
cp *.so ../

Compile pybind11 & cpython & swig demo

Make sure you have swig installed. (brew install swig on mac)

python setup.py build && pip install -e .

Run

python main.py

python demo_pybind11.py

References