Re: [Numpy-discussion] OT? Distutils extension with shared libs

2010-07-07 Thread Fabrice Silva
Thanks for your answers. Three solutions: - ask your users to build the software and install zlib by themselves. On windows, I am afraid it means you concretely limit your userbase to practically 0. - build zlib as part of the build process, and keep zlib internally. - include a copy of

[Numpy-discussion] OT? Distutils extension with shared libs

2010-07-06 Thread Fabrice Silva
I know it is not directly related to numpy (even if it uses numpy.distutils), but I ask you folks how do you deal with code depending on other libs. In libIM7 projet ( https://launchpad.net/libim7 ), I wrap code from a device constructor with ctypes in order to read Particle Image Velocimetry

Re: [Numpy-discussion] OT? Distutils extension with shared libs

2010-07-06 Thread David Cournapeau
On Wed, Jul 7, 2010 at 12:34 AM, si...@lma.cnrs-mrs.fr wrote: More precisely, the constructor provides C source code to access data and metadata with files ReadIM{7,x}.{c.h}. I wrote a tiny ctypes wrappers in order to have a object-oriented class in python that handling reading the data files