Re: calling a Python function from Java?

2011-06-29 Thread Bill Janssen
Andi Vajda wrote: > > OK, I'll try the static method, then. What do you think about wrapping > > protected methods of classes marked as Python-extensible? > > Not much but I haven't given it much thought. At this point, I just go > over public things... That code is in cpp.py and there may be m

Re: calling a Python function from Java?

2011-06-29 Thread Andi Vajda
On Jun 30, 2011, at 0:17, Bill Janssen wrote: > Andi Vajda wrote: > >> >> On Jun 29, 2011, at 22:06, Bill Janssen wrote: >> >>> Andi Vajda wrote: >>> Put everything into a class and call all the python stuff from there. >>> >>> I'd like to make the method on the Java class be stati

Re: setuptools not really setuptools on Ubuntu

2011-06-29 Thread Bill Janssen
Bill Janssen wrote: > Andi Vajda wrote: > > > Sigh. The setuptools story is getting worse. > > > I wonder how the > > 'distribute' project is doing... It's the solution I used for the > > Python 3.1 jcc port I did last summer. In particular, I wonder if they > > integrated my patch, for that i

Re: setuptools not really setuptools on Ubuntu

2011-06-29 Thread Bill Janssen
Andi Vajda wrote: > Sigh. The setuptools story is getting worse. > I wonder how the > 'distribute' project is doing... It's the solution I used for the > Python 3.1 jcc port I did last summer. In particular, I wonder if they > integrated my patch, for that issue 43 I filed like four years ago.

Re: calling Python from Java fails...

2011-06-29 Thread Andi Vajda
On Jun 29, 2011, at 18:16, Bill Janssen wrote: > Andi Vajda wrote: > >> On Jun 29, 2011, at 16:43, Bill Janssen wrote: >> >>> Andi Vajda wrote: >>> > By the way, you might want to add a paragraph in that section about > adding the ["-framework", "Python"] flags for building JCC on

Re: calling Python from Java fails...

2011-06-29 Thread Bill Janssen
Andi Vajda wrote: > > By the way, you might want to add a paragraph in that section about > > adding the ["-framework", "Python"] flags for building JCC on OS X. I > > tripped over that again. > > If you send a paragraph to this effect, I'll integrate it into the docs. How do you feel about ad

Re: calling Python from Java fails...

2011-06-29 Thread Andi Vajda
On Tue, 28 Jun 2011, Bill Janssen wrote: I'm building a Java wrapper for the Python regex module, and thought I'd use JCC. I'm using JCC 2.9 on OS X 10.5.8, Java 5, Python 2.5, both 32-bit. JCC was also compiled with Java 5. I wrote the Java interfaces for Regex, Match, and Group, defined in