From: Krzysiek P. <krz...@gm...> - 2017-07-19 21:28:09
|
Hello! I'm contributing to XWiki open source project http://www.xwiki.org/. XWiki platform apart from many wonderful features allows for scripting in python on its pages. Under the hood it's Jython execute the python script. My current task is to enable installing packages form PyPi repository (making them available for Java classloader in XWiki instance) so that they can be imported by Jython in any python script. The doubt that I have is what the version of package should be for given version of Jython. 1) The version of Jython that we use is 2.7.1. Then, should the python packages be compatible with python 2.7? 2) Is there any documentation page where I could get to know more on this topic? 3) Does it make any difference if package is in .egg or .whl format? Thanks in advance for help! Best, Krzysztof Płachno |