On Sat, 31 Oct 2009, david jenkins wrote:
jcc fails to build using setuptools 0.6c11 due to the version check
being string based. The submitted patch jcc-setup.patch resoloves this.
hunk #1 of patch.43 fails on build_ext.py due to an if statement at line
85 in build_ext.py. The submitted patch setuptools-0.6c11, a
modification of patch.43 resolves this.
Hi David,
This issue was already fixed on October 27th on the pylucene_2_9 branch:
http://svn.apache.org/repos/asf/lucene/pylucene/branches/pylucene_2_9/jcc/
http://svn.apache.org/repos/asf/lucene/pylucene/branches/pylucene_2_9/jcc/CHANGES
Two versions of the setuptools issue 43 patch are now available depending on
the version of setuptools in use. The same problem also exists with the
'distribute' setuptools fork which also hasn't applied this now over
one-year old patch. I uploaded a new version of the patch to the bug I filed
in 2008: http://bugs.python.org/setuptools/issue43
The version checking logic in setup.py was also flawed (not accounting for
the two-digit version rollover) and that was fixed then as well.
I expect to release a new version of JCC along with PyLucene 2.9.1 as soon
as Java Lucene release its 2.9.1 update which should be any day now.
Still, thanks for the patch !
Andi..