[Numpy-discussion] why system_info.check_libs does not look for dll on windows ?

Robert Kern robert.kern@gmail....
Fri Sep 7 13:16:05 CDT 2007


David Cournapeau wrote:
> Hi,
> 
>     I would like to know if there is a reason why system_info does not 
> look for dll on windows ? I think it would make sense to look for dll 
> when you want to use an external lib through ctypes, for example.

Because it was designed to find libraries that the compiler can link against.
Most Windows compilers require a .lib or a .a "import library" in order to link
with the DLL. Making system_info find .dlls would give false positives for its
intended use.

-- 
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


More information about the Numpy-discussion mailing list