[gdal-dev] GDAL & Python

Frank Warmerdam warmerdam at pobox.com
Tue Feb 26 11:00:37 EST 2008


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



More information about the gdal-dev mailing list