[kepler-dev] [kepler-users] Missing python modules when using the Python Actor

Tristan King tristan.king at jcu.edu.au
Tue Oct 28 21:27:04 PDT 2008


Is there any reason (licensing or otherwise) why the entirety of jython
isn't shipped with kepler?I can understand reasoning into not making it easy
to hook up a local install of jython, since different versions of jython
could cause different behaviour in kepler, but it would be easy to set up
kepler to use a local jython environment which includes all the standard
site-packages (jython without the Lib/ directory leaves a quite limited
subset of python. kinda like trying to program anything in Java without
being able to import anything).

I've set up my build.xml to use the $JYTHON_HOME env variable to find the
jython installation (defaulting to $KEPLER/lib/jar/ if $JYTHON_HOME isn't
set). I would check this in, but I think it would be better if jython was
simply shipped with kepler. However, if there is a consensus that the
ability to specify the jython install should be made available i will
happily check in my build.xml.

On Thu, Oct 23, 2008 at 3:43 PM, Trina Myers <t.myers at bigpond.net.au> wrote:

> Hi All,
>
> Is there a simple way to set the environment variables so that Kepler may
> automatically point to a locally installed jython registry? The jython 1.1
> version instance shipped in the Kepler build does not appear to have
> modules
> that would make the python actor more extensible for what I would like to
> do. I would like to use a number of modules (in particular the xml.sax - eg
> saxutils and xmlreader) that are part of jython 2.2 but don't seem to be
> available using the current python actor.
>
> Any advice is appreciated,
> Cheers
> Trina
>
>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at ecoinformatics.org
> http://mercury.nceas.ucsb.edu/ecoinformatics/mailman/listinfo/kepler-users
>



-- 
Tristan King
Research Officer,
eResearch Centre
James Cook University, Townsville Qld 4811
Australia

Phone: +61747816902
E-mail: tristan.king at jcu.edu.au www: http://eresearch.jcu.edu.au
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mercury.nceas.ucsb.edu/ecoinformatics/pipermail/kepler-dev/attachments/20081029/87e62905/attachment.html>


More information about the Kepler-dev mailing list