OK, here's a clause you can put in the PyLucene Makefile after the clause for Cygwin.
ifeq ($(findstring MINGW,$(shell uname)),MINGW) BUILD_TEST:=$(shell $(PYTHON) -c "import os, sys; print os.path.normpath(sys.argv[1]).replace(chr(92),chr(92)*2)" $(BUILD_TEST)) endif Amazing the amount of work it takes just to double the backquotes. Bill