Re: [Sikuli-driver] [Question #236124]: Import Lib/site-packages the same way as -i option

2013-12-09 Thread RaiMan
Question #236124 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236124 RaiMan proposed the following answer: @Mark path-to-sikuli-.jar/Lib is always in sys.path automatically, when using Sikuli's bundled Jython. So for version 1.0.1 it is path-to-setup-folder/Lib (the

Re: [Sikuli-driver] [Question #236124]: Import Lib/site-packages the same way as -i option

2013-12-09 Thread Mark
Question #236124 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236124 Mark requested more information: Is there any way to put them in a different folder? It doesn't really make sense for me to use those folders. -- You received this question notification because you are a

Re: [Sikuli-driver] [Question #236124]: Import Lib/site-packages the same way as -i option

2013-12-09 Thread RaiMan
Question #236124 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236124 RaiMan proposed the following answer: @Mark You might try JYTHONPATH environment variable, since we are running Jython not Python. -- You received this question notification because you are a member of

Re: [Sikuli-driver] [Question #236124]: Import Lib/site-packages the same way as -i option

2013-12-09 Thread Mark
Question #236124 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236124 Mark posted a new comment: Thanks RaiMan, using the (user) Environment variable 'JYTHONPATH' worked. -- You received this question notification because you are a member of Sikuli Drivers, which is an

Re: [Sikuli-driver] [Question #236124]: Import Lib/site-packages the same way as -i option

2013-12-08 Thread Mark
Question #236124 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236124 Mark requested more information: I am trying to add a path to python's module search path. Instead of writing in every file: myPath = path/to/user/defined/modules if not myPath in sys.path: append(myPath)

Re: [Sikuli-driver] [Question #236124]: Import Lib/site-packages the same way as -i option

2013-12-07 Thread RaiMan
Question #236124 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236124 RaiMan requested more information: @Mark what exactly are you talking about? -- You received this question notification because you are a member of Sikuli Drivers, which is an answer contact for Sikuli.

Re: [Sikuli-driver] [Question #236124]: Import Lib/site-packages the same way as -i option

2013-12-06 Thread Mark
Question #236124 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236124 Mark requested more information: Hey, what about for .pth files? I am trying to register a file-system path but haven't had any luck. -- You received this question notification because you are a member of

Re: [Sikuli-driver] [Question #236124]: Import Lib/site-packages the same way as -i option

2013-09-22 Thread RaiMan
Question #236124 on Sikuli changed: https://answers.launchpad.net/sikuli/+question/236124 Status: Open = Answered RaiMan proposed the following answer: With Sikuli you should have your own modules in SikuliX/Lib, since this works with all variants. -- You received this question