Building Python Wrapper

How to build a Python wrapper for the squirrel library

Prerequisites

On RHEL8 Linux

sudo yum install swig python3-devel

Create the wrapper

swig -python gfg.i
gcc -c -fpic squirrel_wrap.c squirrel.cpp -I/usr/include/python3.6m

Last updated