I have a python project with a CMakeLists.txt and a custom made python module (a *.py file), that is not in the same directory, as the file, containing main. Right I use the ugly sys.path.append("../../path/to/module.py")
.
How can I tell python, where to search for modules to import? Maybe include_directories
from cmake will help?