Re: [VOTE] Release PyLucene 3.5.0 rc3

2011-12-08 Thread Bill Janssen
> A release candidate is available from: > http://people.apache.org/~vajda/staging_area/ Works on my OS X 10.5 machine. Bill

[VOTE] Release PyLucene 3.5.0 rc3

2011-12-08 Thread Andi Vajda
There were some issues again with rc2. Thank you all for having reported them ! Please vote on rc3: The PyLucene 3.5.0-3 release closely tracking the recent release of Apache Lucene 3.5.0 is ready. A release candidate is available from: http://people.apache.org/~vajda/staging_area/ A list of

Re: [VOTE] Release PyLucene 3.5.0 rc2

2011-12-08 Thread Bill Janssen
Andi Vajda wrote: > On Thu, 8 Dec 2011, Bill Janssen wrote: > > > Andi Vajda wrote: > > > >> from _jcc import initVM > > > > I believe that in the statement "from X import Y", X and Y are > > essentially strings, not runtime-evaluated values. So what would > > work would be > > > > from jcc.

Re: [VOTE] Release PyLucene 3.5.0 rc2

2011-12-08 Thread Andi Vajda
On Thu, 8 Dec 2011, Bill Janssen wrote: Andi Vajda wrote: from _jcc import initVM I believe that in the statement "from X import Y", X and Y are essentially strings, not runtime-evaluated values. So what would work would be from jcc._jcc import initVM or initVM = _jcc.initVM Than

Re: [VOTE] Release PyLucene 3.5.0 rc2

2011-12-08 Thread Andi Vajda
On Thu, 8 Dec 2011, Bill Janssen wrote: Andi Vajda wrote: It seems that adding, before if __name__ == '__main__': from jcc import _jcc works just fine on 2.7 and 2.6 as well. Yes, this works on 2.5, as well. Speaking of which, I don't see when __name__ would be == '__main__'. I tried

Re: [VOTE] Release PyLucene 3.5.0 rc2

2011-12-08 Thread Andi Vajda
On Thu, 8 Dec 2011, Bill Janssen wrote: Andi Vajda wrote: Yes, I could see that. setuptools plays all kinds of games to achieve its ends, some of them broken. Thank heaven for distutils2/packaging. What ? another 'dist' thing ? So that leaves us with distutils 1, 2, setuptools and distri

Re: [VOTE] Release PyLucene 3.5.0 rc2

2011-12-08 Thread Andi Vajda
On Thu, 8 Dec 2011, Andi Vajda wrote: It doesn't look like this statement is needed either. Can you remember why it was there ? (not saying you put it there, just asking, I'm blanking) Maybe just replacing the whole 'if __name__ ...' block with just: from jcc import _jcc is enough for all

Re: [VOTE] Release PyLucene 3.5.0 rc2

2011-12-08 Thread Andi Vajda
On Thu, 8 Dec 2011, Andi Vajda wrote: It seems that adding, before if __name__ == '__main__': from jcc import _jcc works just fine on 2.7 and 2.6 as well. Speaking of which, I don't see when __name__ would be == '__main__'. I tried various combinations with pdb and __name__ is always == 'jc

Re: [VOTE] Release PyLucene 3.5.0 rc2

2011-12-08 Thread Andi Vajda
On Thu, 8 Dec 2011, Andi Vajda wrote: On Dec 8, 2011, at 9:11, Bill Janssen wrote: Andi Vajda wrote: On Wed, 7 Dec 2011, Bill Janssen wrote: This part of the PyLucene Makefile is still screwed up: # Mac OS X 10.5 (32-bit Python 2.5, Java 1.5) #PREFIX_PYTHON=/usr #ANT=ant #PYTHON=$(PR

Re: [VOTE] Release PyLucene 3.5.0 rc2

2011-12-08 Thread Andi Vajda
On Dec 8, 2011, at 9:11, Bill Janssen wrote: > Andi Vajda wrote: > >> >> On Wed, 7 Dec 2011, Bill Janssen wrote: >> >>> This part of the PyLucene Makefile is still screwed up: >>> >>> # Mac OS X 10.5 (32-bit Python 2.5, Java 1.5) >>> #PREFIX_PYTHON=/usr >>> #ANT=ant >>> #PYTHON=$(PREFIX_PYT

Re: 3.5.0 on OS X 10.5 with Apple system Python and Java

2011-12-08 Thread Andi Vajda
On Dec 8, 2011, at 8:47, Bill Janssen wrote: > Andi Vajda wrote: > >> >> On Wed, 7 Dec 2011, Bill Janssen wrote: >> >>> By the way, here's the Makefile section I'm using for 3.5: >>> >>> # Mac OS X 10.5 (32-bit Python 2.5, Java 1.5) >>> PREFIX_PYTHON=/usr >>> ANT=JAVA_HOME=/System/Library/F

Re: [VOTE] Release PyLucene 3.5.0 rc2

2011-12-08 Thread Bill Janssen
Andi Vajda wrote: > > On Wed, 7 Dec 2011, Bill Janssen wrote: > > > This part of the PyLucene Makefile is still screwed up: > > > > # Mac OS X 10.5 (32-bit Python 2.5, Java 1.5) > > #PREFIX_PYTHON=/usr > > #ANT=ant > > #PYTHON=$(PREFIX_PYTHON)/bin/python > > #JCC=$(PYTHON) -m jcc --shared > > #

Re: 3.5.0 on OS X 10.5 with Apple system Python and Java

2011-12-08 Thread Bill Janssen
Andi Vajda wrote: > > On Wed, 7 Dec 2011, Bill Janssen wrote: > > > By the way, here's the Makefile section I'm using for 3.5: > > > > # Mac OS X 10.5 (32-bit Python 2.5, Java 1.5) > > PREFIX_PYTHON=/usr > > ANT=JAVA_HOME=/System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home > > ant