← Back to team overview

sikuli-driver team mailing list archive

[Question #196872]: Script Sikuli in Eclipse - pythonpath problem

 

New question #196872 on Sikuli:
https://answers.launchpad.net/sikuli/+question/196872

Hi all,

I followed the tutorial and integrated sikuli in eclipse using pyDev. 
Everything works fine until I start importing my custom sikuli modules. 
When I have a script like:

module1.sikuli
# code inside module1 here

module2.sikuli
import module1

Eclipse can't find module1.py, I guess because the module1.sikuli is not exlpicitly added to the sourcepath list. In sikuli-ide, sikuli imports other .sikuli modules just like .py modules, but this is not working in eclipse. Since I have many and varying sikuli modules, I do not want to manage all these sourcepath-imports manually in eclipse. 

So is there any way to 
1) use the sikuli-ide "import sikuli modules like py modules" feature in eclipse or
2) manage the python path automatically with eclipse?

Any hints/help would be very nice.


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