← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #268529]: where is sikuli-script.jar equivalent when integrating with Robotframework, Selenium

 

Question #268529 on Sikuli changed:
https://answers.launchpad.net/sikuli/+question/268529

peter huang gave more information on the question:
all the following are done

You might use export or any other appropriate method.

In cases you do not want to run scripts from inside the SikuliX IDE or
from command line using the SikuliX command scripts or jar-files, you
might setup your own Jython environment and run scripts.

Apply the following steps, to get a Jython environment, that is SikuliX
aware:

download the installer package from Jython Downloads
install (usually by double-clicking the package) using the standard setup into an empty folder
test by running <jython-folder>/bin/jython from a commandline, which should open an interactive Jython session, that allows, to run Python statements line by line
make sure, that pip and easy_install are available:
<jython-folder>/bin/pip exists
<jython-folder>/bin/easy_install exists
if this is not the case run <jython-folder>/bin/jython -m ensurepip on a commandline and check again
if this is still not the case follow the steps further below Fallback without pip
run <jython-folder>/bin/pip install jip to install the package jip, which allows to add Java libraries easily to your Jython environment
add any needed Python package (must not depend on C-based stuff) using pip, easy-install or manual methods into <jython-folder>/Lib/site-packages and/or use jip for adding Java libraries preferably from Maven Central

-- 
You received this question notification because you are a member of
Sikuli Drivers, which is an answer contact for Sikuli.