[Numpy-discussion] CTypes: How to incorporate a library with shared library module?
Tue Feb 12 00:05:55 CST 2008
On Mon, 2008-02-11 at 22:50 -0700, Damian Eads wrote:
> Dear Lou,
> You may want to try using distutils or setuputils, which makes compiling
> extensions much easier. It does the hard work of finding out which flags
> are needed to compile extensions on the host platform. There are many
> examples on the web on how to use distutils to build C extensions
Unfortunately, this does not work. Distutils only knows how to build
python extensions, not shared libraries. Depending on the platform, this
is not the same thing, and mac os X is such a platform where both are
not the same.
More information about the Numpy-discussion