[Numpy-discussion] numpy.distutils and shared libraries

Brian Granger ellisonbg.net@gmail....
Fri Jan 30 18:31:15 CST 2009


>> I am using config.add_library to build a c++ library that I will link
>> into some Cython extensions.  This is working fine and generating a .a
>> library for me.  However, I need a shared library instead.  Is this
>> possible with numpy.distutils or will I need something like numscons?
>
> numscons or you can adapt the code from OOF2 and contribute it to
> numpy.distutils.

OK, thanks I hadn't seen the stuff in OOF2.

>> When calling add_library, what is the difference between the depends
>> and headers arguments?
>
> headers get installed via the distutils install_headers command. This
> will install the headers ... somewhere. Not exactly sure.

Again, thanks, that helps.

Cheers,

Brian

> --
> 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
> _______________________________________________
> Numpy-discussion mailing list
> Numpy-discussion@scipy.org
> http://projects.scipy.org/mailman/listinfo/numpy-discussion
>


More information about the Numpy-discussion mailing list