If can use the __file__ attribute of your main script to locate your jar relatively to its location with something like:
I don't think it is a lot of work. :-)
On 13 May 2011, at 10:49, Pierre Thibault wrote:I just checked, this works! It's not that easy to apply in real life because I need to modify sys.path before any script is run, but perhaps with a sitecustomize.py in the jython.jar this can be arranged.
I mean: Just add the .py files to the jar and add the jar file in your sys.path.