Skip to content

aaronchall/swigpython

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

I already had gcc and related stuff, so that might be a dependency.

after creating example.(i|c|h), I ran the following:

sudo apt-get install swig
swig -python example.i   

Then created setup.py and ran that:

python setup.py build_ext --inplace

and then could import:

>>> import example
>>> example.fact(4)
24

About

hello world for swig.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published