From: Robert K. <rob...@gm...> - 2006-06-10 02:12:16
|
Albert Strasheim wrote: > Hello all > > For my Summer of Code project, I'm adding Support Vector Machine code to > SciPy. Underneath, I'm currently using libsvm. Thus far, I've been compiling > libsvm as a shared library (DLL on Windows) using SCons and doing the > wrapping with ctypes. > > Now, I would like to integrate my code into the SciPy build. Unfortunately, > it doesn't seem as if numpy.distutils or distutils proper knows about > building shared libraries. > > Building shared libraries across multiple platforms is tricky to say the > least so I don't know if implementing this functionality again is something > worth doing. The alternative -- never using shared libraries, doesn't seem > very appealing either. > > Is anybody building shared libraries? Any code or comments? Ed Schofield worked out a way: http://www.scipy.net/pipermail/scipy-dev/2006-April/005708.html You'll have some experimenting to do, but the basics are there. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco |