Skip to content

Minimum working example for packaging C extensions in Python using SWIG.

License

Notifications You must be signed in to change notification settings

EricKightley/swig_mwe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swig_mwe

Minimum working example for packaging C extensions in Python using SWIG.

installation

Install SWIG:

brew install swig

Helper build.sh will run SWIG, build the python extension, and run tests.

git clone <>
cd swig_mwe
./build.sh
pip install .

Usage:

from swig_mwe.fastLA import fact
fact(4)

About

Minimum working example for packaging C extensions in Python using SWIG.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published