I'm setting up Travis-CI for my project, and oddly, I can't import my project:
$ python tests/tests.py
Traceback (most recent call last):
File "tests/tests.py", line 11, in <module>
from my_module.lib.importer import build_module_list
ImportError: No module named my_module.lib.importer
In production, I just create a symlink like so:
sudo ln -s /usr/local/my_module /usr/lib/python2.7/dist-packages/my_module
But I don't know -- or want to know, really -- Travis-CI's folder structure.
This seems like a solved problem, but I'm new to Travis-CI. What's the best way to make this work, so my code is added as an importable module?