|
From: Samuele P. <ped...@bl...> - 2001-11-28 19:36:35
|
Please add a print statement to your test1.py,
and try again with your experiments.
You will be even more disillusioned
but it will make for a more coherent report ;).
regards.
> Hi all,
>
> I have an odd situation. Imagine the following setup:
>
> test1.py
> test2.py
> source/test3.py
>
> where test1.py contains:
>
> -- test1.py
>
> import test2, sys
> sys.path.append('source/')
> import test3
>
> --
>
> This works fine with 'jython test1.py'. It works fine if I do
>
> 'jythonc --all -j out.jar test1.py test2.py source/test3.py', move out.jar
> to another directory, put it in the classpath, and type 'import test1' into
> jython.
>
> However, it does not work if I do
>
> 'jythonc --all -j out.jar test1.py'
>
> It finds the test2 dependency, but not the test3 dependency.
>
> Even odder is that in one of my projects -- the only one for which I can
> make a simple distribution -- 'jythonc --all -j out.jar start.py' includes
> all of the files upon which start.py is dependent.
>
> I can't figure out what makes some things work and others not; are there any
> hints that anyone can give me? (I'd compile jython myself and just put
> printlns in, but I can't compile it at the moment.)
>
> tnx,
> --titus
>
> _______________________________________________
> Jython-dev mailing list
> Jyt...@li...
> https://lists.sourceforge.net/lists/listinfo/jython-dev
>
|