
April 29, 2014
8:37 a.m.
On Tue, Apr 29, 2014 at 4:59 AM, Nathan Woods <charlesnwoods@gmail.com> wrote:
This sounds promising, but I will have to have a much better understanding of distutils than I do just at the moment to try it. I’ll see what I can figure out.
It's really easy. Let's say you put the test module as scipy/integrate/_ctypes_test.c. Just take a look at scipy/integrate/setup.py. Add a new line: config.add_extension('_ctypes_test', sources=['_ctypes_test.c']) And in the scipy/integrate/bento.info: Extension: Sources: _ctypes_test.c -- Robert Kern