Issue1194650
Created on 2005-05-03.18:46:21 by grrussel, last changed 2006-08-16.21:22:46 by otmarhumbel.
History | |||
---|---|---|---|
Date | User | Action | Args |
2005-05-03 18:46:21 | grrussel | create |
Created on 2005-05-03.18:46:21 by grrussel, last changed 2006-08-16.21:22:46 by otmarhumbel.
Messages | |||
---|---|---|---|
msg972 (view) | Author: George Richard Russell (grrussel) | Date: 2005-05-03.18:46:21 | |
It is difficult to bundle jython with an application as the library of modules is not included in the jar file distributed with an application. Without the library files, the various modules depended upon cannot be found. It is impractical to assume jython is installed on a users machine in any fixed location. Jython should be able to execute fully as a standalone jar file when embedded in an application. |
|||
msg973 (view) | Author: Nobody/Anonymous (nobody) | Date: 2005-07-08.17:09:54 | |
Logged In: NO the Jython 2.1 README.txt says: Use the form: sys.path.append("/path/to/file.zip/Lib") to search for modules with the zipped named of "Lib/module.py" So this can be used as a workaround for shipping the library in a separate jar? |
|||
msg974 (view) | Author: Wolfgang Langner (tds33) | Date: 2006-06-06.07:23:56 | |
Logged In: YES user_id=600792 If python lib is included in the jython.jar you must set the property python.home to jython.jar. Appending to sys.path is not usable because at interpreter startup the import of site.py is never done. Lib path must be set before interpreter init, sys.path.append does this to late. |
|||
msg975 (view) | Author: Oti Humbel (otmarhumbel) | Date: 2006-08-16.21:22:46 | |
Logged In: YES user_id=105844 Revision 2837 solves this |
History | |||
---|---|---|---|
Date | User | Action | Args |
2005-05-03 18:46:21 | grrussel | create |
Supported by Python Software Foundation,
Powered by Roundup