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
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
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
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
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)
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.
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
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
8 matches
Mail list logo