numpy.distutils and shared libraries
Hi, 2 ?'s about numpy.distutils: 1. 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? 2. When calling add_library, what is the difference between the depends and headers arguments? Thanks! Brian
On Fri, Jan 30, 2009 at 18:13, Brian Granger <ellisonbg.net@gmail.com> wrote:
Hi,
2 ?'s about numpy.distutils:
1.
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.
2.
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. -- 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
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
participants (2)
-
Brian Granger
-
Robert Kern