Re: [VOTE] Release PyLucene 3.5.0 rc2

2011-12-08 Thread Bill Janssen
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 Bill

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: > > > >> 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 wh

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: > > > >>> 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 th

Re: [VOTE] Release PyLucene 3.5.0 rc2

2011-12-08 Thread Bill Janssen
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 > various combinations with pdb and

Re: [VOTE] Release PyLucene 3.5.0 rc2

2011-12-08 Thread Bill Janssen
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 distribute. My informa= > tion may be