The distutils module has a get_python_inc() function which returns the include directory. If this one was used, we wouldn't have to hack up the include path as I do now. Is there any reason this is not used on Unix, instead of the hardcoded subdirectory-of-"python_prefix" way it is now? (in _PGAC_CHECK_PYTHON_DIRS)
Probably because until about 2 weeks ago, we didn't check for, or use, distutils at all ;-). Now we probably should.
Joe
---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives?
http://archives.postgresql.org