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

David Cournapeau david at ar.media.kyoto-u.ac.jp
Sat Sep 8 07:59:02 EDT 2007


Robert Kern wrote:
> 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.
>   
I see, thanks for the explanation.

cheers,

David




More information about the NumPy-Discussion mailing list