On Wed, Aug 20, 2008 at 4:01 PM, Mike Hostetler <hostetlerm@...> wrote:
> On Wed, Aug 20, 2008 at 1:25 PM, Leo Soto M. <leo.soto@...> wrote:
>> How about pre-compiling all your.py files to $py.class before
>> installing on the production environment? Would that work?
> That's my Plan B. Doing that means I have to move more files over to
> production (both the .py and the $py.class files).
You can also include only the $py.class files, except for scripts you
want to directly execute. That is, jython foo$py.class won't work, but
"import foo" will work with the foo$py.class file alone.
Leo Soto M.