[Numpy-discussion] Replacement for numpy.distutils.config.try_run
Robert Kern
robert.kern at gmail.com
Fri Jan 9 03:37:02 EST 2009
On Fri, Jan 9, 2009 at 02:31, Stéfan van der Walt <stefan at sun.ac.za> wrote:
> 2009/1/9 David Cournapeau <david at ar.media.kyoto-u.ac.jp>:
>>> What do you suggest as workarounds?
>>
>> What about not using tests which need to run on the target platform :)
>
> Let me simplify the question. How do you detect the version of the
> local Fortran compiler without executing the compiler?
try_run() is not the right thing to call for such a purpose. Use
FCompiler.get_version().
--
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