← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #226581]: ignore from sikuli.sikuli when using sphinx-doc

 

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

    Status: Open => Answered

RaiMan proposed the following answer:
Since your Sphinx seems to run in a C-Python environment (Python27), the
import will never work, since the relevant modules are inside sikuli-
script.jar (Python cannot import from there).

You have to use Jython to run Sphinx autodoc.

You might use the Sikuli built in Jython:
java -cp path-to-sikuli-script.jar org.python.util.jython ....

BTW: in the latest Sikuli versions
from sikuli import *
is sufficient.

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