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.
cheers,
David
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 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