Well, PyLucene's Makefile is currently 924 lines long. I do not know (I assume not) that distutils can do everything that the Makefile does. It was suggested earlier that a distutils script could wrap the 'make' task. If that is indeed possible and if that distutils script could also pass the correct env vars values to the Makefile, then editing the Makefile would no longer be necessary and that would be progress indeed. Patches are welcome :)
I should add that the catch here is that on most platforms, the compiler used for building PyLucene is *not* the system compiler python was built with.
This is for a variety of reasons:
- the system compiler either doesn't include gcj or is too old. A version of
gcj newer than 3.4.1 is currently required. It looks like FC4 is using gcc
4.0.x as the system compiler so that Linux distro may be the first one
where the system compiler might be usable out of the box.
- on Mac OS X, gcj is not included and needs to be built first. Also, the
system compiler as shipped with the 10.3.x dev tools is too old.
- on Windows, python is built with VC++ which of course is very different
from gcj's MinGW 3.4.2 flavor used there.
Andi..
_______________________________________________ pylucene-dev mailing list [email protected] http://lists.osafoundation.org/mailman/listinfo/pylucene-dev
