[GRASS-dev] Python GUI requirements

Paul Kelly paul-grass at stjohnspoint.co.uk
Mon Jan 14 07:07:50 EST 2008


On Mon, 14 Jan 2008, Martin Landa wrote:

> Hi,
>
> 2008/1/14, Glynn Clements <glynn at gclements.plus.com>:
>
>>> current trunk ./configure --help says that --with-python will enable
>>> Python support (Python bindings?).
>>
>> Yes.
>>
>>> Still I don't see any switch to enable/disable wxpython. Shouldn't
>>> there be one?
>>
>> It isn't needed. The Tcl/Tk and Python checks in gui/Makefile are both
>> bogus; those directories should be processed regardless of whether or
>> not Tcl/Tk or Python are installed on the build system.
>
> now gui/Makefile checks for wxPython instead of Python. wxPython stuff
> is installed only if --with-wxpython is given.

I think Glynn's point was that the installation should simply  be 
unconditional with no checks in gui/Makefile - the wxPython stuff is just 
scripts and doesn't need Python to be installed on the compilation system 
for the scripts to be processed in any way (unlike C compiling) - the 
requirement for wxPython is only on the system that GRASS is run on so it 
should be a runtime check rather than a comile-time check.

Of course if the wxPython stuff does require Python on the compilation 
system, then what I've said is totally wrong...

Paul


More information about the grass-dev mailing list