Guillaume,

Does adding the following in swig/python/setup.py  (just after similar stuff 
for CXX) helps ?

if 'CC' in os.environ and os.environ['CC'].strip().find(' ') >= 0:
    print('WARNING: "CC=%s" was defined in the environment and contains more 
than one word. Unsetting it since that is incompatible of distutils' % 
os.environ['CC'])
    del os.environ['CC']

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com
_______________________________________________
gdal-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to