hANSIc99 / PythonCppExtension

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

PythonCppExtension

Build

To configure the build, CMake is required

Using Python

python3 setup.py build

Invoke CMake manually

cmake -B build
cmake --build build

Debugging

GDB

Start a GDB session

./gdb.sh

C++ application

Alternatively, debug the application pydbg.cpp which embeds the Python interpreter and imports the module.

Python

Start an interactive Python session:

./init.sh

About


Languages

Language:C++ 52.5%Language:Python 27.5%Language:C 10.3%Language:CMake 7.8%Language:Shell 1.8%