← Back to team overview

sikuli-driver team mailing list archive

Re: [Question #698112]: Windows 10: imports no longer working after moving to newest version (run from comand line, sys.path not containing location of common modules)

 

Question #698112 on SikuliX changed:
https://answers.launchpad.net/sikuli/+question/698112

Richard Chubb posted a new comment:
The sites_examples.txt states
# rename/copy this file as sites.txt and it will be seen by SikuliX
#
# add absolute paths one per line, that point to other directories/jars,
# where importable modules (Jython, plain Python, SikuliX scripts, ...) can be found.
# They will be added automatically at startup to the end of sys.path in the given sequence
#
# lines beginning with # or // are ignored and can be used as comments

but I can't use absolute paths, because the tests/scripts are run on different machines.
Can I use a defined env var e.g. %NCS_SIKULI_COMMON% ?

-- 
You received this question notification because your team Sikuli Drivers
is an answer contact for SikuliX.