Stewori / JyNI

Enables Jython to load native CPython extensions.
https://jyni.12hp.de
Other
152 stars 17 forks source link

Update JyNIInitializer #24

Closed Tatsukyo closed 6 years ago

Tatsukyo commented 6 years ago

Accept an other name than JyNI.jar composed by JyNI[...].jar see Name JyNI.jar Mandatory #23

Stewori commented 6 years ago

Thanks for your work on this. I think this commit is a good workaround for now (so I'll accept it), but I wouldn't it consider the final solution. What do you think of having an entry for the jar-name to be added to Pythonpath in the manifest/META-INF? Then one would have to adjust the manifest when changing the jar filename, but it would allow for fully freeform names. JyNI already involves a specialized META-INF entry for Jython initialization: https://github.com/Stewori/JyNI/blob/master/JyNI-Java/META-INF/services/org.python.core.JythonInitializer