R: [gdal-dev] GDAL & Python

marco.pasetti at alice.it marco.pasetti at alice.it
Tue Feb 26 11:50:56 EST 2008


Hi Frank,
 
I'm building GDAL right now --with-python option enabled; I thought the same as you suggested... but now I'm trying build GDAL without python installed, because the last option enables python bindings, and, I think, this feature would not require python installed; furthermore, configure tells that the old python support is deprecated and suggests (as I understood) to enable python bindings instead.
 
thanks
 
Marco

________________________________

Da: Frank Warmerdam [mailto:warmerdam at pobox.com]
Inviato: mar 26/02/2008 17.00
A: marco.pasetti at alice.it
Cc: gdal-dev at lists.osgeo.org
Oggetto: Re: [gdal-dev] GDAL & Python



marco.pasetti at alice.it wrote:
> Hi,
> 
> I'm building GDAL 1.5.0 on windows with MinGW.
> Do I need Python to enable its support in GDAL? (I have Python 2.5.1
> installed, but not in a "standard" msys directory)
> configure option is just "--with-python", while configure help doesn't
> tell about an option like --with-python-inc/lib or something like that!?

Marco,

I believe that the key is to have your installed python in the path, and then
the python setup.py script for GDAL queries it to find appropriate information.

I can't promise that msys/mingw builds with python support will be easy
though.  I'm under the impression it might be tricky though I haven't done
it myself.

Best regards,
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org <http://osgeo.org/> 



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080226/363234c8/attachment.html


More information about the gdal-dev mailing list