On Fri, Jan 9, 2009 at 03:27, Stéfan van der Walt wrote:
> 2009/1/9 Robert Kern :
>> try_run() is not the right thing to call for such a purpose. Use
>> FCompiler.get_version().
>
> That was just an example. What I want to do is run something like
> "pkg-config blah" and parse the output, but I g
2009/1/9 Robert Kern :
> try_run() is not the right thing to call for such a purpose. Use
> FCompiler.get_version().
That was just an example. What I want to do is run something like
"pkg-config blah" and parse the output, but I get the idea from
David's post that that is OK.
Cheers
Stéfan
_
Stéfan van der Walt wrote:
> 2009/1/9 David Cournapeau :
>
>>> 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
On Fri, Jan 9, 2009 at 02:31, Stéfan van der Walt wrote:
> 2009/1/9 David Cournapeau :
>>> 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 compil
2009/1/9 David Cournapeau :
>> 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? Or is that OK,
and you'd simply
Stéfan van der Walt wrote:
> 2009/1/9 David Cournapeau :
>
>> It happened that in that particular case where it is used in numpy, I
>> found a way around it, but I would like to get rid of it completely at
>> some point.
>>
>
> What do you suggest as workarounds?
>
>
What about not usin
2009/1/9 David Cournapeau :
> It happened that in that particular case where it is used in numpy, I
> found a way around it, but I would like to get rid of it completely at
> some point.
What do you suggest as workarounds?
Stéfan
___
Numpy-discussion ma
Stéfan van der Walt wrote:
> Hi,
>
> In distutils/config.py line 32 I see:
>
> "Usage of try_run is deprecated: please do not \n" \
> "use it anymore, and avoid configuration checks \n" \
> "involving running executable on the target
Hi,
In distutils/config.py line 32 I see:
"Usage of try_run is deprecated: please do not \n" \
"use it anymore, and avoid configuration checks \n" \
"involving running executable on the target machine.\n" \
What is the recommended