sikuli-driver team mailing list archive
-
sikuli-driver team
-
Mailing list archive
-
Message #36720
Re: [Question #284591]: Consolidating Scripts into one folder
Question #284591 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/284591
RaiMan proposed the following answer:
Ok, thanks for the details.
It is rather simple with the current SikuliX 1.1.0:
such complex testcase setups are not possible using the Sikuli IDE, because this IDE currently relies on the .sikuli folder design and it is true: this can never be fully compatible with the Python module definition.
So the only chance currently, to be fully Python compatible, is to use
your approach - but then you cannot use the SikuliX IDE any more, to
edit your .py files (but this should not be a problem, since you do not
use the IDE's capture feature for your scripts).
I will add the possibility in version 2, to edit plain files of
supported scripting languages.
Anyways: A good IDE candidate would be Eclipse with PyDev for developement and testing of your scripts.
For the handling of the image folder(s) you can use the SikuliX IDE, with the caveat, that the image folder must be named <images>.sikuli.
To let other users run your scripts, they do not need an extra Jython.
They simply can use sikulix.jar:
java -cp sikulix.jar org.python.util.jython <mainscript> parameters...
To setup the Python environment for SikuliX in this case:
see https://github.com/RaiMan/SikuliX-2014/wiki/Usage-in-Java-programming
--
You received this question notification because your team Sikuli Drivers
is an answer contact for Sikuli.