Thrameos / jpype

Thrameos personal sandbox for enhancements to jpype to send to originell.
Other
0 stars 1 forks source link

Place python project in jar. #5

Open Thrameos opened 7 years ago

Thrameos commented 7 years ago

We will often need to ship a jars only to users, but some of the visualization software will be in python. Shipping a separate python package means the potential for version shear. It would be best if we can get a hook into the jpype.imports system to check to see if init.py exists in the jar and load the python module from there. There are some existing examples for loading a module from memory in stackoverflow and the python docs. Perhaps one of them would be a working base.