On Behalf Of Thomas Mortagne
> Sent: Thursday, May 26, 2016 12:34 AM
> To: XWiki Users
> Subject: Re: [xwiki-users] Python macro scripting - available packages?
>
> And same comment as Vincent, if you find a nice trick please don't
> hesitate to share it on
> http://extensions.x
...@xwiki.org] On Behalf Of Thomas Mortagne
Sent: Thursday, May 26, 2016 12:34 AM
To: XWiki Users
Subject: Re: [xwiki-users] Python macro scripting - available packages?
And same comment as Vincent, if you find a nice trick please don't hesitate to
share it on http://extensions.xwiki.org/xwiki/bin
And same comment as Vincent, if you find a nice trick please don't
hesitate to share it on
http://extensions.xwiki.org/xwiki/bin/view/Extension/Python+Macro
On Thu, May 26, 2016 at 9:29 AM, Thomas Mortagne
wrote:
> If you want to see the embedded modules, they are all
If you want to see the embedded modules, they are all located in the
jython-standalone jar (you can open it as a zip) file in /Lib folder.
On Thu, May 26, 2016 at 9:27 AM, Thomas Mortagne
wrote:
> Actually Vincent is talking about the ruby macro.
>
> The python macro
Actually Vincent is talking about the ruby macro.
The python macro implementation is Jython (through JSR223) that you
can find on http://jython.org/.
Some ideas: It might be enough to just put the egg file of the module
you need directly in WEB-INF/lib since Jython is scanning the
classpath
Hi Sebastian,
> On 26 May 2016, at 02:17, Sebastian Schafer wrote:
>
> Hi,
> I'm trying to import some packages into the Python macro on Xwiki 7.2, and
> while standard packages import fine (working with os and re, etc.), some
> (like xlrd) don't.
> Looking through the
Hi,
I'm trying to import some packages into the Python macro on Xwiki 7.2, and
while standard packages import fine (working with os and re, etc.), some (like
xlrd) don't.
Looking through the scripting guide and macro documentation I could not figure
out how the Python macro actually works.
Is