From: dman <ds...@ri...> - 2001-09-18 02:27:36
|
On Sun, Sep 16, 2001 at 10:40:10PM -0400, Antonio Rodriguez wrote: | Let me clarify: | | Im not asking how to put classes in the classpath. I'm asking how to | put all of the standard python library (the .py modules like re.py | and httplib.py) that compile to *$py.class into a jar in such a way | that when a PythonInterpreter runs over the line: import re, it can | import the python library from a jar. Oh, now I see. You can use jythonc to compile a python program and all its dependencies into a single jar file (which is suitable for distribution as a java applet). Note, however, that the result from jythonc isn't .py files in a jar file but rather .class files in a jar file. HTH, -D |