Skip to content

An example of building and installing a Python SWIG-generated module with GNU autotools.

License

Notifications You must be signed in to change notification settings

roryyorke/swig-python-autotools-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is an example of how to use GNU Autotools to build and install a Python SWIG-generate module that links against a library.

All non-Autotools files, in particular the SWIG outputs, can be built out-of-tree.

Non-root installation is possible, but requires that you set PYTHONPATH appropriately. You shouldn't have to set LD_LIBRARY_PATH to use the Python module.

See 'demo.sh' for an example of all of this.

In a real project you would probably add ax_python_devel.m4, ax_pkg_swig, and ax_swig_python to m4/.

Build Status

About

An example of building and installing a Python SWIG-generated module with GNU autotools.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published