Re: [Pydev-code] Jython<->CPython for Scripting
Brought to you by:
fabioz
From: Don T. <nos...@gm...> - 2006-04-10 23:48:58
|
Fabio Zadrozny wrote: > I guess you could do it with some tool to embed cpython in java... > > There are some projects that say they support this (note that I never > tried any of those): > http://jepp.sourceforge.net/ > http://jpe.sourceforge.net/ > http://jpype.sourceforge.net/roadmap.html > Fabio: I had another look at these projects and you may be interested in using Jepp in Pydev as I believe that you ould use it to execute inline CPython from inside a Java program. Jep uses the Jni to allow Java to call CPython. As I understand it, you currently spawn separate processes for CPython components of Pydev, I think Jepp would let you run these components synchronously or inside a Java task. But Jep (presumably jep.dll) presently does seem to require a custom build for each pair (JRE version, Python version). I have not tried Jep because it will require some (difficult for me) build work to get it running on my machine. Don. |