Hi, I noticed the releases of the python GDAL bindings uploaded to PyPI have a strange default setting. Namely, the line in setup.cfg that sets:
gdal-config="../../apps/gdal-config" See: http://trac.osgeo.org/gdal/browser/trunk/gdal/swig/python/setup.cfg?annotate=blame&rev=15445 This appears to be reasonable in a development context when building everything from scratch, but when just installing the python package from a random location, it seems unlikely at best ;) Removing the line from setup.cfg when uploading PyPI packages would allow setup.py to guess that gdal-config is in the user's path (more likely) The default results in the following behavior: GDAL-1.7.1$ python ./setup.py install running install running bdist_egg running egg_info writing GDAL.egg-info/PKG-INFO writing top-level names to GDAL.egg-info/top_level.txt writing dependency_links to GDAL.egg-info/dependency_links.txt Could not run gdal-config!!!! [... chaos ensues] A similar error occurs running easy_install GDAL. After removing the line, works fine for me. I created a ticket about this a while ago, but it doesn't look like anyone has touched it: http://trac.osgeo.org/gdal/ticket/3375 - Luke
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
