I'm have trouble "freezing" a python application that uses
subpackages. Before I reorganized the code to use subpackages, everything
worked fine. But now I have a situation like this:
Class1 and Class2 are both "java-compatible"; i.e. they subclass a Java
class. They also try to execute "import os". I compile this into a jar
(using jython 2.1):
jythonc --core --jar somefile.jar --package P1 ./P1/*.py
Then when I try to run some java code that creates an instance of P2, I get:
"ImportError: no module named javaos", where Class2 tries to "import
os". If I look in the JAR, I see P1/javaos.class. I guess Class2 is
unable to find it, though.
This is driving me nuts. Any help is appreciated...